Fixed #3405 ((error) Invalid number of character ({) when these macros are def ined: 'WIN32'.)
This commit is contained in:
parent
5eb8ab70e3
commit
c8f497a9b3
|
@ -1838,8 +1838,9 @@ std::string Preprocessor::handleIncludes(const std::string &code, const std::str
|
|||
indentmatch = indent;
|
||||
}
|
||||
} else if (line == "#endif") {
|
||||
--indent;
|
||||
if (indentmatch > indent) {
|
||||
if (indent > 0)
|
||||
--indent;
|
||||
if (indentmatch > indent || indent == 0) {
|
||||
indentmatch = indent;
|
||||
elseIsTrue = false;
|
||||
suppressCurrentCodePath = false;
|
||||
|
|
Loading…
Reference in New Issue