summaryrefslogtreecommitdiffstats
path: root/llvm/support/tools/TableGen/FileParser.y
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/support/tools/TableGen/FileParser.y')
-rw-r--r--llvm/support/tools/TableGen/FileParser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/support/tools/TableGen/FileParser.y b/llvm/support/tools/TableGen/FileParser.y
index 0ab3e5bde0c..5b983eb06c7 100644
--- a/llvm/support/tools/TableGen/FileParser.y
+++ b/llvm/support/tools/TableGen/FileParser.y
@@ -171,7 +171,7 @@ static void addSubClass(Record *SC, const std::vector<Init*> &TemplateArgs) {
%token INT BIT STRING BITS LIST CODE DAG CLASS DEF FIELD LET IN
%token <IntVal> INTVAL
-%token <StrVal> ID STRVAL CODEFRAGMENT
+%token <StrVal> ID VARNAME STRVAL CODEFRAGMENT
%type <Ty> Type
%type <Rec> ClassInst DefInst Object ObjectBody ClassID
OpenPOWER on IntegriCloud