From 5cbc33c27b1f762f79682117836350f6c2eae23f Mon Sep 17 00:00:00 2001 From: panne Date: Mon, 8 Sep 2003 13:31:35 +0000 Subject: [PATCH] [project @ 2003-09-08 13:31:35 by panne] Handle lines like (note the blank!): # 1 "" --- ghc/compiler/parser/Lexer.x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4