From: Carl Worth Date: Mon, 24 May 2010 18:26:42 +0000 (-0700) Subject: Add the '~' operator to the lexer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89b933a24375a2ebed383290f24360a14edbac6b;p=mesa.git Add the '~' operator to the lexer. This was simply missing before, (and unnoticed since we had no test of the '~' operator). --- diff --git a/glcpp-lex.l b/glcpp-lex.l index 84166fb76fc..fe95508a321 100644 --- a/glcpp-lex.l +++ b/glcpp-lex.l @@ -102,7 +102,7 @@ TOKEN [^[:space:](),]+ return OR; } -[-+*/%<>&^|()] { +[-+*/%<>&^|()~] { return yytext[0]; }