mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-03 06:12:43 -06:00
.developing preprocessor
git-svn-id: svn://ultimatepp.org/upp/trunk@8157 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
1ab3e95fb8
commit
0cc2371efa
4 changed files with 59 additions and 4 deletions
|
|
@ -21,6 +21,10 @@ struct CppMacro : Moveable<CppMacro> {
|
|||
struct Cpp {
|
||||
bool incomment;
|
||||
VectorMap<String, CppMacro> macro;
|
||||
|
||||
String filedir;
|
||||
String include_path;
|
||||
int level;
|
||||
|
||||
void Define(const char *s);
|
||||
|
||||
|
|
@ -28,9 +32,10 @@ struct Cpp {
|
|||
void ParamAdd(Vector<String>& param, const char *b, const char *e);
|
||||
|
||||
String Expand(const char *s);
|
||||
void Include(const char *s);
|
||||
String GetIncludePath(const char *s);
|
||||
|
||||
String Preprocess(Stream& in, bool needresult = true);
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue