cpp: Scope issue with macro fix #1099

git-svn-id: svn://ultimatepp.org/upp/trunk@8502 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-06-03 07:21:43 +00:00
parent a66fcdb838
commit 300b220ce9

View file

@ -1737,8 +1737,6 @@ void Parser::Do(Stream& in, CppBase& _base, int filei_, int filetype_,
{
LLOG("= C++ Parser ==================================== " << fn);
base = &_base;
file = PreProcess(in, *this);
lex.Init(~file.text);
err = _err;
filei = filei_;
filetype = filetype_;
@ -1756,6 +1754,9 @@ void Parser::Do(Stream& in, CppBase& _base, int filei_, int filetype_,
AddNamespace(n, namespace_stack[i]);
}
file = PreProcess(in, *this);
lex.Init(~file.text);
while(lex != t_eof)
try {
try {