X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fcmm%2FCmmLex.x;h=a5defb618ae8bf34e7ac41458e7189bdcc876469;hb=c800c1633c97a7ead022a142d015bf8db14f04f6;hp=196347992dcd073762e09a0fc04c41a3314b90ff;hpb=4e7bb769cb8ba1d7e99d6eba32e2658c4d47b3eb;p=ghc-hetmet.git diff --git a/compiler/cmm/CmmLex.x b/compiler/cmm/CmmLex.x index 1963479..a5defb6 100644 --- a/compiler/cmm/CmmLex.x +++ b/compiler/cmm/CmmLex.x @@ -74,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> {