mirror of https://github.com/tbklang/tlang.git
Fixed bug for name checking for function parameters
This commit is contained in:
parent
165d08f411
commit
e8915d7525
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue