summaryrefslogtreecommitdiff
path: root/glcpp-lex.l
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-05-24 11:26:42 -0700
committerCarl Worth <cworth@cworth.org>2010-05-24 11:26:42 -0700
commit89b933a24375a2ebed383290f24360a14edbac6b (patch)
treeeec1a6b89ffdf1f03e1adbc3ec909ee4c874f008 /glcpp-lex.l
parentbcbd587b0f5312d85307785ee2df6e5906af4f7b (diff)
Add the '~' operator to the lexer.
This was simply missing before, (and unnoticed since we had no test of the '~' operator).
Diffstat (limited to 'glcpp-lex.l')
-rw-r--r--glcpp-lex.l2
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];
}