added comments to lexer

git-svn-id: svn://anubis/fart/branches/parser-comments@293 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop 2010-07-15 17:04:12 +00:00
parent 4cd288a66f
commit a4e85f8eff

View File

@ -86,6 +86,7 @@ width return WIDTH;
return IDENTIFIER; return IDENTIFIER;
} }
#.*\n yylloc->first_line++; yylloc->last_line++;
\n yylloc->first_line++; yylloc->last_line++; \n yylloc->first_line++; yylloc->last_line++;
[ \t\v] /* ignore whitespace */ [ \t\v] /* ignore whitespace */