Index: src/sksl/sksl.flex |
diff --git a/src/sksl/sksl.flex b/src/sksl/sksl.flex |
index 30dc376de860b321c92606b867e4c858c33bce01..67b48e9cb92f7fa2e9d1d0624bc1021cee69a0e4 100644 |
--- a/src/sksl/sksl.flex |
+++ b/src/sksl/sksl.flex |
@@ -29,8 +29,6 @@ |
{DIGIT}+([eE][+-]?{DIGIT}+) { return SkSL::Token::FLOAT_LITERAL; } |
{DIGIT}+ { return SkSL::Token::INT_LITERAL; } |
- |
-"0x"[0-9a-zA-Z]+ { return SkSL::Token::INT_LITERAL; } |
true { return SkSL::Token::TRUE_LITERAL; } |
@@ -124,15 +122,13 @@ |
"&" { return SkSL::Token::BITWISEAND; } |
-"~" { return SkSL::Token::BITWISENOT; } |
- |
"||" { return SkSL::Token::LOGICALOR; } |
"^^" { return SkSL::Token::LOGICALXOR; } |
"&&" { return SkSL::Token::LOGICALAND; } |
-"!" { return SkSL::Token::LOGICALNOT; } |
+"!" { return SkSL::Token::NOT; } |
"?" { return SkSL::Token::QUESTION; } |