HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e3fee8
)
Gobble up complete lines after a '#'. This
author
Marius Vollmer
<mvo@zagadka.de>
Sat, 17 May 2003 00:06:30 +0000
(
00:06
+0000)
committer
Marius Vollmer
<mvo@zagadka.de>
Sat, 17 May 2003 00:06:30 +0000
(
00:06
+0000)
removes preprocessor directives from the snarfage that might
otherwise confuse us. These directives appear when compiling with
"-g3", for example.
libguile/c-tokenize.lex
patch
|
blob
|
blame
|
history
diff --git
a/libguile/c-tokenize.lex
b/libguile/c-tokenize.lex
index
8859629
..
cb5d239
100644
(file)
--- a/
libguile/c-tokenize.lex
+++ b/
libguile/c-tokenize.lex
@@
-53,7
+53,7
@@
int cookie_was_last = 0;
({SPACE}*\n*{SPACE}*)+ { OUT(eol); }
-#
{ OUT(hash); IS_NOT_COOKIE; }
+#
.*\n
{ OUT(hash); IS_NOT_COOKIE; }
{LETTER}({LETTER}|{DIGIT})* { OUT_T (id); IS_NOT_COOKIE; }