diff options
author | Michael D. Adams <t-madams@microsoft.com> | 2007-05-10 15:14:54 +0000 |
---|---|---|
committer | Michael D. Adams <t-madams@microsoft.com> | 2007-05-10 15:14:54 +0000 |
commit | 5a7a840886f05a1add708708974edae325214ac0 (patch) | |
tree | 37a3095d280e0704e2d0e50c361e8d94e13f4f14 /compiler/cmm/CmmLex.x | |
parent | f8ec4ec53ba9377254af4c0c0d3787bbe1e27be3 (diff) | |
download | haskell-5a7a840886f05a1add708708974edae325214ac0.tar.gz |
Fixed a minor redundancy in the C-- lexer
Diffstat (limited to 'compiler/cmm/CmmLex.x')
-rw-r--r-- | compiler/cmm/CmmLex.x | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cmm/CmmLex.x b/compiler/cmm/CmmLex.x index cc477964fd..6ae52007bd 100644 --- a/compiler/cmm/CmmLex.x +++ b/compiler/cmm/CmmLex.x @@ -46,7 +46,7 @@ $unismall = \x04 -- Trick Alex into handling Unicode. See alexGetChar. $ascsmall = [a-z \xdf-\xf6 \xf8-\xff] $small = [$ascsmall $unismall \_] -$namebegin = [$large $small \_ \. \$ \@] +$namebegin = [$large $small \. \$ \@] $namechar = [$namebegin $digit] @decimal = $digit+ |