aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/TGLexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/TableGen/TGLexer.cpp')
-rw-r--r--utils/TableGen/TGLexer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/TableGen/TGLexer.cpp b/utils/TableGen/TGLexer.cpp
index 8eb219b..5e96e50 100644
--- a/utils/TableGen/TGLexer.cpp
+++ b/utils/TableGen/TGLexer.cpp
@@ -447,7 +447,10 @@ tgtok::TokKind TGLexer::LexExclaim() {
if (Len == 3 && !memcmp(Start, "shl", 3)) return tgtok::XSHL;
if (Len == 9 && !memcmp(Start, "strconcat", 9)) return tgtok::XStrConcat;
if (Len == 10 && !memcmp(Start, "nameconcat", 10)) return tgtok::XNameConcat;
-
+// if (Len == 5 && !memcmp(Start, "subst", 5)) return tgtok::XSubst;
+// if (Len == 7 && !memcmp(Start, "foreach", 7)) return tgtok::XForEach;
+// if (Len == 4 && !memcmp(Start, "cast", 4)) return tgtok::XCast;
+
return ReturnError(Start-1, "Unknown operator");
}