Added check for accessor

develop_before_lexer_parser_merge_parseName
Tristan B. V. Kildaire 2021-03-21 13:32:51 +02:00
parent 5121e60092
commit 7adf0aad12
1 changed files with 5 additions and 0 deletions

View File

@ -701,6 +701,11 @@ public final class Parser
gprintln("parse()::woah: Current token: " ~ tok.getToken());
}
/* If it is an accessor */
else if (isAccessor(tok))
{
parseAccessor();
}
/* If it is a class */
else if (symbol == SymbolType.CLASS)
{