This website works better with JavaScript.
Home
Explore
Help
Sign In
brkho
/
mesa
Watch
1
Star
0
Fork
0
Code
Releases
562
Wiki
Activity
Browse Source
Eat whitespace while in the PP state
tags/mesa-7.9-rc1
Ian Romanick
15 years ago
parent
62f62ca3b3
commit
b0b8fa4885
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
glsl_lexer.lpp
+ 1
- 0
glsl_lexer.lpp
View File
@@ -62,6 +62,7 @@
^[ \t]*#[ \t]*line { BEGIN PP; return LINE; }
^[ \t]*#[ \t]*pragma { BEGIN PP; return PRAGMA; }
<PP>\/\/[^\n]* { }
<PP>[ \t\r]* { }
<PP>: return COLON;
<PP>[_a-zA-Z][_a-zA-Z0-9]* {
yylval->identifier = strdup(yytext);
Write
Preview
Loading…
Cancel
Save