diff options
author | Carl Worth <cworth@cworth.org> | 2010-05-24 11:26:42 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-05-24 11:26:42 -0700 |
commit | 89b933a24375a2ebed383290f24360a14edbac6b (patch) | |
tree | eec1a6b89ffdf1f03e1adbc3ec909ee4c874f008 | |
parent | bcbd587b0f5312d85307785ee2df6e5906af4f7b (diff) |
Add the '~' operator to the lexer.
This was simply missing before, (and unnoticed since we had no test of
the '~' operator).
-rw-r--r-- | glcpp-lex.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glcpp-lex.l b/glcpp-lex.l index 84166fb..fe95508 100644 --- a/glcpp-lex.l +++ b/glcpp-lex.l @@ -102,7 +102,7 @@ TOKEN [^[:space:](),]+ return OR; } -<ST_IF>[-+*/%<>&^|()] { +<ST_IF>[-+*/%<>&^|()~] { return yytext[0]; } |