summaryrefslogtreecommitdiff
path: root/ghc/compiler
diff options
context:
space:
mode:
authorpanne <unknown>2003-09-09 08:40:38 +0000
committerpanne <unknown>2003-09-09 08:40:38 +0000
commit2bde7a3ed00cf16175b19d104895b5155332ed1d (patch)
treea844a6d72529d9dc92afe18a9eef4319ccec48bb /ghc/compiler
parent39ea6a04bf80f0df9385d0f872cc492dde0f28b6 (diff)
downloadhaskell-2bde7a3ed00cf16175b19d104895b5155332ed1d.tar.gz
[project @ 2003-09-09 08:40:38 by panne]
Recognize the qualified unit as a lexeme when -fglasgow-exts is on (which is the case when lexing .hi-boot files). Note: Should `[]' and `(->)' be recognized similarly?
Diffstat (limited to 'ghc/compiler')
-rw-r--r--ghc/compiler/parser/Lexer.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/compiler/parser/Lexer.x b/ghc/compiler/parser/Lexer.x
index 344f0c43cf..855c27e89a 100644
--- a/ghc/compiler/parser/Lexer.x
+++ b/ghc/compiler/parser/Lexer.x
@@ -241,7 +241,7 @@ $white_no_nl+ ;
<glaexts> {
@qual @varid "#"+ { idtoken qvarid }
- @qual @conid "#"+ { idtoken qconid }
+ @qual (@conid "#"+ | "()") { idtoken qconid }
@varid "#"+ { varid }
@conid "#"+ { idtoken conid }
}