mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-13 06:12:49 -06:00
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:
parent
a66fcdb838
commit
300b220ce9
1 changed files with 3 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue