0
0
Fork 0
mirror of https://git.code.sf.net/p/quake/quakeforge synced 2025-04-22 17:45:37 +00:00

handle #line (hopefully)

This commit is contained in:
Bill Currie 2007-04-06 11:27:03 +00:00 committed by Jeff Teunissen
parent 966c337bf5
commit 6d21c50dee

View file

@ -113,6 +113,7 @@ FRAMEID {ID}(\.{ID})*
"//".* /* nothing to do */
^#{s}+{DIGIT}+{s}+\"(\.|[^"\n])*\".*$ { line_info (yytext + 1); }
^#line{s}+{DIGIT}+{s}+\"(\.|[^"\n])*\".*$ { line_info (yytext + 5); }
^{s}*#{s}*pragma.*$ /* skip */