Parser.hpp: Parse all references instead of properties only
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
ade66e8343
commit
fe5de82208
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue