diff --git a/src/headers/parsing/Parser.hpp b/src/headers/parsing/Parser.hpp index b8f10f3..e1d6baf 100644 --- a/src/headers/parsing/Parser.hpp +++ b/src/headers/parsing/Parser.hpp @@ -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); }