X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fcmm%2FCmmLex.x;h=a5defb618ae8bf34e7ac41458e7189bdcc876469;hb=4e0c994eb1613c62e94069642d7acdb2e69b773b;hp=42243258c52fe5ce84cc6c698ae25c87a61d604c;hpb=f4b727487a65e6b611bbaafbd2207bd63a8df706;p=ghc-hetmet.git diff --git a/compiler/cmm/CmmLex.x b/compiler/cmm/CmmLex.x index 4224325..a5defb6 100644 --- a/compiler/cmm/CmmLex.x +++ b/compiler/cmm/CmmLex.x @@ -22,8 +22,6 @@ module CmmLex ( CmmToken(..), cmmlex, ) where -#include "HsVersions.h" - import Cmm import Lexer @@ -76,7 +74,7 @@ $white_no_nl+ ; -- single-line line pragmas, of the form -- # "" \n $digit+ { setLine line_prag1 } - \" ($printable # \")* \" { setFile line_prag2 } + \" [^\"]* \" { setFile line_prag2 } .* { pop } <0> {