Improve code generator for varargs.

This commit is contained in:
James Roseborough
2010-07-21 05:25:45 +00:00
parent f4eb4a4e4c
commit 399566a20c
4 changed files with 55 additions and 53 deletions

View File

@@ -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;
}