Cleaned up

parser_exception_before
Tristan B. V. Kildaire 2021-04-01 15:59:44 +02:00
parent 2ca005a45f
commit a349a81922
1 changed files with 0 additions and 12 deletions

View File

@ -1036,18 +1036,6 @@ public final class Parser
{
/* Might be a function, might be a variable, or assignment */
modulle.addStatement(parseName());
/* Might be a function, might be a variable, or assignment */
// TypedEntity varFunc = cast(TypedEntity)parseName();
// /* If cast fails then it was a funcall */
// if(!varFunc)
// {
// /* FUnction calls not allowed in top level body */
// expect("Expected var/func def got funcall");
// }
/* Add this statement to the program's statement list */
}
/* If it is an accessor */
else if (isAccessor(tok))