Add the isFinalDefine boolean to 1 in Parser.hpp
This commit is contained in:
parent
08a038cf82
commit
500662f5c5
|
@ -43,7 +43,7 @@ namespace Parser {
|
|||
bool isFinalDefine = nextAre(2, TAG, DEFINE);
|
||||
if (isFinalDefine || next.toktype == DEFINE) {
|
||||
parseTree << Define(isFinalDefine, current.toktext);
|
||||
i += isFinalDefine ? 2 : 1;
|
||||
i += 1 + isFinalDefine;
|
||||
} else {
|
||||
parseTree << Reference(current.toktext);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue