.developing preprocessor

git-svn-id: svn://ultimatepp.org/upp/trunk@8157 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-02-08 18:40:20 +00:00
parent 1ab3e95fb8
commit 0cc2371efa
4 changed files with 59 additions and 4 deletions

View file

@ -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