summaryrefslogtreecommitdiff
path: root/tools/llvmc/ConfigLexer.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-15 08:19:46 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-15 08:19:46 +0000
commitbf437720381ded52024e52560bc84e95dde266f7 (patch)
tree35a2b230242d321dfa77bbc6392e6075948ed2fb /tools/llvmc/ConfigLexer.h
parent936f5c72e20a19f7c7814c427db44d03eed1c60f (diff)
downloadllvm-bf437720381ded52024e52560bc84e95dde266f7.tar.gz
llvm-bf437720381ded52024e52560bc84e95dde266f7.tar.bz2
llvm-bf437720381ded52024e52560bc84e95dde266f7.tar.xz
More Functionality:
- cleaned up lexical scanner - added support for "lang.optN" configuration items - added temporary file support (ala lib/System) - corrected logic for deciding which phases to run - consolidated the Action and ActionPattern classes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15765 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc/ConfigLexer.h')
-rw-r--r--tools/llvmc/ConfigLexer.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/llvmc/ConfigLexer.h b/tools/llvmc/ConfigLexer.h
index 5a3e9e9f74..fd25589e61 100644
--- a/tools/llvmc/ConfigLexer.h
+++ b/tools/llvmc/ConfigLexer.h
@@ -25,7 +25,6 @@ struct ConfigLexerInfo
};
extern ConfigLexerInfo ConfigLexerData;
-extern unsigned ConfigLexerLine;
class InputProvider {
public:
@@ -65,13 +64,21 @@ enum ConfigLexerTokens {
ASSEMBLER, ///< The item "assembler" (and case variants)
LINKER, ///< The item "linker" (and case variants)
NAME, ///< The item "name" (and case variants)
- NEEDED, ///< The item "needed" (and case variants)
+ REQUIRED, ///< The item "required" (and case variants)
COMMAND, ///< The item "command" (and case variants)
PREPROCESSES, ///< The item "preprocesses" (and case variants)
GROKS_DASH_O, ///< The item "groks_dash_O" (and case variants)
+ GROKS_O10N, ///< The item "groks_optimization" (and case variants)
OPTIMIZES, ///< The item "optimizes" (and case variants)
+ OPT1, ///< The item "opt1" (and case variants)
+ OPT2, ///< The item "opt2" (and case variants)
+ OPT3, ///< The item "opt3" (and case variants)
+ OPT4, ///< The item "opt4" (and case variants)
+ OPT5, ///< The item "opt5" (and case variants)
};
+extern ConfigLexerTokens Configlex();
+
}
#endif