diff --git a/src/headers/parsing/Parser.hpp b/src/headers/parsing/Parser.hpp index 03140c0..23e8dfc 100644 --- a/src/headers/parsing/Parser.hpp +++ b/src/headers/parsing/Parser.hpp @@ -119,7 +119,7 @@ namespace Parser { const string name = property or method ? current.toktext + '.' + lexed[i + 2].toktext : current.toktext; if (method or next.toktype == LPAR) { parseTree << Call(name); - } else if (property) { + } else { parseTree << Reference(name); } if (property or method) i += 2;