1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 03:30:27 +02:00

Gobble up complete lines after a '#'. This

removes preprocessor directives from the snarfage that might
otherwise confuse us.  These directives appear when compiling with
"-g3", for example.
This commit is contained in:
Marius Vollmer 2003-05-17 00:06:30 +00:00
parent 8e3fee84c9
commit 6d7c6cf491

View file

@ -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; }