aboutsummaryrefslogtreecommitdiff
path: root/lua.stx
diff options
context:
space:
mode:
Diffstat (limited to 'lua.stx')
-rw-r--r--lua.stx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.stx b/lua.stx
index 784ad704..2c8e6244 100644
--- a/lua.stx
+++ b/lua.stx
@@ -1,6 +1,6 @@
1%{ 1%{
2/* 2/*
3** $Id: lua.stx,v 1.29 1997/12/29 17:28:45 roberto Exp roberto $ 3** $Id: lua.stx,v 1.30 1997/12/29 17:35:46 roberto Exp roberto $
4** Syntax analizer and code generator 4** Syntax analizer and code generator
5** See Copyright Notice in lua.h 5** See Copyright Notice in lua.h
6*/ 6*/
@@ -450,7 +450,7 @@ static void code_args (int nparams, int dots)
450{ 450{
451 L->currState->nlocalvar += nparams; 451 L->currState->nlocalvar += nparams;
452 if (!dots) 452 if (!dots)
453 code_oparg(ARGS, 0, L->currState->nlocalvar, L->currState->nlocalvar); 453 code_oparg(ARGS, 4, L->currState->nlocalvar, L->currState->nlocalvar);
454 else { 454 else {
455 code_oparg(VARARGS, 0, L->currState->nlocalvar, L->currState->nlocalvar+1); 455 code_oparg(VARARGS, 0, L->currState->nlocalvar, L->currState->nlocalvar+1);
456 add_localvar(luaS_new("arg")); 456 add_localvar(luaS_new("arg"));