summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc/Configuration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvmc/Configuration.cpp')
-rw-r--r--llvm/tools/llvmc/Configuration.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/tools/llvmc/Configuration.cpp b/llvm/tools/llvmc/Configuration.cpp
index ba3c93c6900..1364e9b2ebf 100644
--- a/llvm/tools/llvmc/Configuration.cpp
+++ b/llvm/tools/llvmc/Configuration.cpp
@@ -116,6 +116,8 @@ namespace {
result.clear();
while (next_is_real()) {
switch (token ) {
+ case LLVMGCCDIR_SUBST:
+ case LLVMGCCARCH_SUBST:
case STRING :
case OPTION :
result += ConfigLexerState.StringVal;
@@ -260,6 +262,11 @@ namespace {
str.clear();
do {
switch (token) {
+ case BINDIR_SUBST:
+ case LLVMGCC_SUBST:
+ case LLVMGXX_SUBST:
+ case LLVMCC1_SUBST:
+ case LLVMCC1PLUS_SUBST:
case OPTION:
case STRING:
case ARGS_SUBST:
OpenPOWER on IntegriCloud