From: panne Date: Mon, 8 Sep 2003 13:31:35 +0000 (+0000) Subject: [project @ 2003-09-08 13:31:35 by panne] X-Git-Tag: Approx_11550_changesets_converted~488 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=5cbc33c27b1f762f79682117836350f6c2eae23f;p=ghc-hetmet.git [project @ 2003-09-08 13:31:35 by panne] Handle lines like (note the blank!): # 1 "" --- diff --git a/ghc/compiler/parser/Lexer.x b/ghc/compiler/parser/Lexer.x index 922860e..0f2e23e 100644 --- a/ghc/compiler/parser/Lexer.x +++ b/ghc/compiler/parser/Lexer.x @@ -151,7 +151,7 @@ $white_no_nl+ ; -- single-line line pragmas, of the form -- # "" \n $digit+ { set_line line_prag1a } - \" $graphic* \" { set_file line_prag1b } + \" [$graphic \ ]* \" { set_file line_prag1b } .* { pop } -- Haskell-style line pragmas, of the form