Add the '~' operator to the lexer.
authorCarl Worth <cworth@cworth.org>
Mon, 24 May 2010 18:26:42 +0000 (11:26 -0700)
committerCarl 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

index 84166fb..fe95508 100644 (file)
@@ -102,7 +102,7 @@ TOKEN               [^[:space:](),]+
        return OR;
 }
 
-<ST_IF>[-+*/%<>&^|()] {
+<ST_IF>[-+*/%<>&^|()~] {
        return yytext[0];
 }