summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc/ConfigLexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvmc/ConfigLexer.l')
-rw-r--r--llvm/tools/llvmc/ConfigLexer.l3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/llvmc/ConfigLexer.l b/llvm/tools/llvmc/ConfigLexer.l
index cab02a1eec7..6633156eb33 100644
--- a/llvm/tools/llvmc/ConfigLexer.l
+++ b/llvm/tools/llvmc/ConfigLexer.l
@@ -134,7 +134,7 @@ White [ \t]*
return EQUALS;
}
-{VERSION} { return handleNameContext(VERSION); }
+{VERSION} { return handleNameContext(VERSION_TOK); }
{LANG} { return handleNameContext(LANG); }
{NAME} { return handleNameContext(NAME); }
@@ -161,7 +161,6 @@ White [ \t]*
%args% { return handleSubstitution(ARGS_SUBST); }
%defs% { return handleSubstitution(DEFS_SUBST); }
-%force% { return handleSubstitution(FORCE_SUBST); }
%in% { return handleSubstitution(IN_SUBST); }
%incls% { return handleSubstitution(INCLS_SUBST); }
%libs% { return handleSubstitution(LIBS_SUBST); }
OpenPOWER on IntegriCloud