diff options
Diffstat (limited to 'ghc/compiler/parser/Lexer.x')
-rw-r--r-- | ghc/compiler/parser/Lexer.x | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/compiler/parser/Lexer.x b/ghc/compiler/parser/Lexer.x index 316cb10e33..344f0c43cf 100644 --- a/ghc/compiler/parser/Lexer.x +++ b/ghc/compiler/parser/Lexer.x @@ -157,7 +157,7 @@ $white_no_nl+ ; -- Haskell-style line pragmas, of the form -- {-# LINE <line> "<file>" #-} <line_prag2> $digit+ { set_line line_prag2a } -<line_prag2a> \" $graphic* \" { set_file line_prag2b } +<line_prag2a> \" [$graphic \ ]* \" { set_file line_prag2b } <line_prag2b> "#-}" { pop } <0,glaexts> { |