diff options
| author | simonmar <unknown> | 2003-09-12 09:46:37 +0000 |
|---|---|---|
| committer | simonmar <unknown> | 2003-09-12 09:46:37 +0000 |
| commit | 321009129c53e5dadf679603da66dbaadf5010be (patch) | |
| tree | 89d326be3c9954294af2c4c833f05608ef3987b7 /ghc/compiler | |
| parent | 424d45ae7a17cb085d41e5b3d85c699b7c9951ed (diff) | |
| download | haskell-321009129c53e5dadf679603da66dbaadf5010be.tar.gz | |
[project @ 2003-09-12 09:46:37 by simonmar]
Ignore lines containing
#pragma .*
generated by GCC 3.3's CPP on MacOS X, apparently.
Diffstat (limited to 'ghc/compiler')
| -rw-r--r-- | ghc/compiler/parser/Lexer.x | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ghc/compiler/parser/Lexer.x b/ghc/compiler/parser/Lexer.x index 1159f630e1..aa5067f16e 100644 --- a/ghc/compiler/parser/Lexer.x +++ b/ghc/compiler/parser/Lexer.x @@ -123,6 +123,7 @@ $white_no_nl+ ; <bol> { \n ; ^\# (line)? { begin line_prag1 } + ^\# pragma .* \n ; -- GCC 3.3 CPP generated, apparently () { do_bol } } |
