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