Improve code generator for varargs.
This commit is contained in:
@@ -49,7 +49,7 @@ public class LuaParser {
|
||||
|
||||
private static Exp.VarExp assertvarexp(Exp.PrimaryExp pe) throws ParseException {
|
||||
if (!pe.isvarexp())
|
||||
throw new ParseException("exptected variable");
|
||||
throw new ParseException("expected variable");
|
||||
return (Exp.VarExp) pe;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user