variant opcodes for PUSHSELF
This commit is contained in:
4
lua.stx
4
lua.stx
@@ -1,6 +1,6 @@
|
||||
%{
|
||||
/*
|
||||
** $Id: lua.stx,v 1.28 1997/12/28 22:48:15 roberto Exp roberto $
|
||||
** $Id: lua.stx,v 1.29 1997/12/29 17:28:45 roberto Exp roberto $
|
||||
** Syntax analizer and code generator
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -833,7 +833,7 @@ functioncall : funcvalue funcParams
|
||||
funcvalue : sexp1 { $$ = 0; }
|
||||
| sexp1 ':' NAME
|
||||
{
|
||||
code_oparg(PUSHSELF, 0, string_constant($3, L->currState), 1);
|
||||
code_oparg(PUSHSELF, 8, string_constant($3, L->currState), 1);
|
||||
$$ = 1;
|
||||
}
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user