diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-12-29 15:35:46 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-12-29 15:35:46 -0200 |
commit | 4e0bf95622151cf09a2708b465d6df682ad43284 (patch) | |
tree | 884d5b225780be9629121046eea600b7451348e6 /lua.stx | |
parent | 498a934abf763ef1e436663ae40afea4f3a5075a (diff) | |
download | lua-4e0bf95622151cf09a2708b465d6df682ad43284.tar.gz lua-4e0bf95622151cf09a2708b465d6df682ad43284.tar.bz2 lua-4e0bf95622151cf09a2708b465d6df682ad43284.zip |
variant opcodes for PUSHSELF
Diffstat (limited to 'lua.stx')
-rw-r--r-- | lua.stx | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ | |||
1 | %{ | 1 | %{ |
2 | /* | 2 | /* |
3 | ** $Id: lua.stx,v 1.28 1997/12/28 22:48:15 roberto Exp roberto $ | 3 | ** $Id: lua.stx,v 1.29 1997/12/29 17:28:45 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 | */ |
@@ -833,7 +833,7 @@ functioncall : funcvalue funcParams | |||
833 | funcvalue : sexp1 { $$ = 0; } | 833 | funcvalue : sexp1 { $$ = 0; } |
834 | | sexp1 ':' NAME | 834 | | sexp1 ':' NAME |
835 | { | 835 | { |
836 | code_oparg(PUSHSELF, 0, string_constant($3, L->currState), 1); | 836 | code_oparg(PUSHSELF, 8, string_constant($3, L->currState), 1); |
837 | $$ = 1; | 837 | $$ = 1; |
838 | } | 838 | } |
839 | ; | 839 | ; |