Open tingwei628 opened 4 years ago
review source
One more change you need to make this work: _program() needs to return null if the next token is a ']'. Because ']' is not the start of any program.
same above
_inst() shouldn't need to check for null token as it does in line 132, because _program() shouldn't call _inst() unless the next token is the first token of an inst.
review source