summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/TableGen/TGLexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/lib/TableGen/TGLexer.h')
-rw-r--r--contrib/llvm/lib/TableGen/TGLexer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/llvm/lib/TableGen/TGLexer.h b/contrib/llvm/lib/TableGen/TGLexer.h
index 84d328b..8a850b5 100644
--- a/contrib/llvm/lib/TableGen/TGLexer.h
+++ b/contrib/llvm/lib/TableGen/TGLexer.h
@@ -39,9 +39,10 @@ namespace tgtok {
colon, semi, // : ;
comma, period, // , .
equal, question, // = ?
-
+ paste, // #
+
// Keywords.
- Bit, Bits, Class, Code, Dag, Def, Defm, Field, In, Int, Let, List,
+ Bit, Bits, Class, Code, Dag, Def, Foreach, Defm, Field, In, Int, Let, List,
MultiClass, String,
// !keywords.
@@ -109,6 +110,7 @@ private:
tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg);
int getNextChar();
+ int peekNextChar(int Index);
void SkipBCPLComment();
bool SkipCComment();
tgtok::TokKind LexIdentifier();
OpenPOWER on IntegriCloud