aboutsummaryrefslogtreecommitdiff
path: root/lua.stx
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-29 15:35:46 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-29 15:35:46 -0200
commit4e0bf95622151cf09a2708b465d6df682ad43284 (patch)
tree884d5b225780be9629121046eea600b7451348e6 /lua.stx
parent498a934abf763ef1e436663ae40afea4f3a5075a (diff)
downloadlua-4e0bf95622151cf09a2708b465d6df682ad43284.tar.gz
lua-4e0bf95622151cf09a2708b465d6df682ad43284.tar.bz2
lua-4e0bf95622151cf09a2708b465d6df682ad43284.zip
variant opcodes for PUSHSELF
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 07e0d0cd..784ad704 100644
--- a/lua.stx
+++ b/lua.stx
@@ -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
833funcvalue : sexp1 { $$ = 0; } 833funcvalue : 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 ;