diff options
author | panne <unknown> | 2003-09-09 08:40:38 +0000 |
---|---|---|
committer | panne <unknown> | 2003-09-09 08:40:38 +0000 |
commit | 2bde7a3ed00cf16175b19d104895b5155332ed1d (patch) | |
tree | a844a6d72529d9dc92afe18a9eef4319ccec48bb /ghc/compiler | |
parent | 39ea6a04bf80f0df9385d0f872cc492dde0f28b6 (diff) | |
download | haskell-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.x | 2 |
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 } } |