projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcbd587
)
Add the '~' operator to the lexer.
author
Carl Worth
<cworth@cworth.org>
Mon, 24 May 2010 18:26:42 +0000
(11:26 -0700)
committer
Carl Worth
<cworth@cworth.org>
Mon, 24 May 2010 18:26:42 +0000
(11:26 -0700)
This was simply missing before, (and unnoticed since we had no test of
the '~' operator).
glcpp-lex.l
patch
|
blob
|
history
diff --git
a/glcpp-lex.l
b/glcpp-lex.l
index 84166fb76fc2fcf2edffc6e206007f13bb9f492f..fe95508a321ecf5500c4214702f874c482b558a4 100644
(file)
--- a/
glcpp-lex.l
+++ b/
glcpp-lex.l
@@
-102,7
+102,7
@@
TOKEN [^[:space:](),]+
return OR;
}
-<ST_IF>[-+*/%<>&^|()] {
+<ST_IF>[-+*/%<>&^|()
~
] {
return yytext[0];
}