From: Michael D. Adams Date: Thu, 10 May 2007 15:14:54 +0000 (+0000) Subject: Fixed a minor redundancy in the C-- lexer X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=5a7a840886f05a1add708708974edae325214ac0 Fixed a minor redundancy in the C-- lexer --- diff --git a/compiler/cmm/CmmLex.x b/compiler/cmm/CmmLex.x index cc47796..6ae5200 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+