Fixed bug for name checking for function parameters

This commit is contained in:
Tristan B. Velloza Kildaire 2021-03-28 22:32:44 +02:00
parent 165d08f411
commit e8915d7525
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ public final class Parser
/* Get the identifier (This CAN NOT be dotted) */
expect(SymbolType.IDENT_TYPE, getCurrentToken());
if(isIdentifier_Dot(getCurrentToken()))
if(!isIdentifier_NoDot(getCurrentToken()))
{
expect("Identifier can not be path");
}