projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
424d45a
)
[project @ 2003-09-12 09:46:37 by simonmar]
author
simonmar
<unknown>
Fri, 12 Sep 2003 09:46:37 +0000
(09:46 +0000)
committer
simonmar
<unknown>
Fri, 12 Sep 2003 09:46:37 +0000
(09:46 +0000)
Ignore lines containing
#pragma .*
generated by GCC 3.3's CPP on MacOS X, apparently.
ghc/compiler/parser/Lexer.x
patch
|
blob
|
history
diff --git
a/ghc/compiler/parser/Lexer.x
b/ghc/compiler/parser/Lexer.x
index
1159f63
..
aa5067f
100644
(file)
--- 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 }
}