diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-08-16 20:31:44 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-08-16 20:31:44 +0000 |
commit | 3b4c5d72e0e7eaf40a7a0d54d2cd8f07435f705f (patch) | |
tree | afc7523fcf01e8eeaaa06d94d19508f33734ebde /tools/llvmc/Configuration.cpp | |
parent | ec46ea34dcc615558294e9e0dbd0dd0f2894f574 (diff) |
Patches to correct several bugs in llvmc.
Patches contributed by Bram Adams. Thanks Bram.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29729 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc/Configuration.cpp')
-rw-r--r-- | tools/llvmc/Configuration.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/llvmc/Configuration.cpp b/tools/llvmc/Configuration.cpp index ba3c93c690..1364e9b2eb 100644 --- a/tools/llvmc/Configuration.cpp +++ b/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: |