diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-11-28 18:13:13 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-11-28 18:13:13 -0200 |
| commit | 72659a06050632da1a9b4c492302be46ac283f6b (patch) | |
| tree | bac06b4ea523ba5443564d0869e392180d4b7b77 /lopcodes.c | |
| parent | dfaf8c5291fa8aef5bedbfa375853475364ac76e (diff) | |
| download | lua-72659a06050632da1a9b4c492302be46ac283f6b.tar.gz lua-72659a06050632da1a9b4c492302be46ac283f6b.tar.bz2 lua-72659a06050632da1a9b4c492302be46ac283f6b.zip | |
no more explicit support for wide-chars; too much troble...
Diffstat (limited to 'lopcodes.c')
| -rw-r--r-- | lopcodes.c | 87 |
1 files changed, 43 insertions, 44 deletions
| @@ -1,12 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lopcodes.c,v 1.5 2001/09/07 17:39:10 roberto Exp $ | 2 | ** $Id: lopcodes.c,v 1.6 2001/10/25 19:14:14 roberto Exp $ |
| 3 | ** extracted automatically from lopcodes.h by mkprint.lua | 3 | ** extracted automatically from lopcodes.h by mkprint.lua |
| 4 | ** DO NOT EDIT | 4 | ** DO NOT EDIT |
| 5 | ** See Copyright Notice in lua.h | 5 | ** See Copyright Notice in lua.h |
| 6 | */ | 6 | */ |
| 7 | 7 | ||
| 8 | 8 | ||
| 9 | #define LUA_PRIVATE | ||
| 10 | #include "lua.h" | 9 | #include "lua.h" |
| 11 | 10 | ||
| 12 | #include "lobject.h" | 11 | #include "lobject.h" |
| @@ -15,48 +14,48 @@ | |||
| 15 | 14 | ||
| 16 | #ifdef LUA_OPNAMES | 15 | #ifdef LUA_OPNAMES |
| 17 | 16 | ||
| 18 | const l_char *const luaP_opnames[] = { | 17 | const char *const luaP_opnames[] = { |
| 19 | l_s("MOVE"), | 18 | "MOVE", |
| 20 | l_s("LOADK"), | 19 | "LOADK", |
| 21 | l_s("LOADINT"), | 20 | "LOADINT", |
| 22 | l_s("LOADNIL"), | 21 | "LOADNIL", |
| 23 | l_s("GETUPVAL"), | 22 | "GETUPVAL", |
| 24 | l_s("GETGLOBAL"), | 23 | "GETGLOBAL", |
| 25 | l_s("GETTABLE"), | 24 | "GETTABLE", |
| 26 | l_s("SETGLOBAL"), | 25 | "SETGLOBAL", |
| 27 | l_s("SETUPVAL"), | 26 | "SETUPVAL", |
| 28 | l_s("SETTABLE"), | 27 | "SETTABLE", |
| 29 | l_s("NEWTABLE"), | 28 | "NEWTABLE", |
| 30 | l_s("SELF"), | 29 | "SELF", |
| 31 | l_s("ADD"), | 30 | "ADD", |
| 32 | l_s("SUB"), | 31 | "SUB", |
| 33 | l_s("MUL"), | 32 | "MUL", |
| 34 | l_s("DIV"), | 33 | "DIV", |
| 35 | l_s("POW"), | 34 | "POW", |
| 36 | l_s("UNM"), | 35 | "UNM", |
| 37 | l_s("NOT"), | 36 | "NOT", |
| 38 | l_s("CONCAT"), | 37 | "CONCAT", |
| 39 | l_s("JMP"), | 38 | "JMP", |
| 40 | l_s("CJMP"), | 39 | "CJMP", |
| 41 | l_s("TESTEQ"), | 40 | "TESTEQ", |
| 42 | l_s("TESTNE"), | 41 | "TESTNE", |
| 43 | l_s("TESTLT"), | 42 | "TESTLT", |
| 44 | l_s("TESTLE"), | 43 | "TESTLE", |
| 45 | l_s("TESTGT"), | 44 | "TESTGT", |
| 46 | l_s("TESTGE"), | 45 | "TESTGE", |
| 47 | l_s("TESTT"), | 46 | "TESTT", |
| 48 | l_s("TESTF"), | 47 | "TESTF", |
| 49 | l_s("NILJMP"), | 48 | "NILJMP", |
| 50 | l_s("CALL"), | 49 | "CALL", |
| 51 | l_s("RETURN"), | 50 | "RETURN", |
| 52 | l_s("FORPREP"), | 51 | "FORPREP", |
| 53 | l_s("FORLOOP"), | 52 | "FORLOOP", |
| 54 | l_s("TFORPREP"), | 53 | "TFORPREP", |
| 55 | l_s("TFORLOOP"), | 54 | "TFORLOOP", |
| 56 | l_s("SETLIST"), | 55 | "SETLIST", |
| 57 | l_s("SETLISTO"), | 56 | "SETLISTO", |
| 58 | l_s("CLOSE"), | 57 | "CLOSE", |
| 59 | l_s("CLOSURE") | 58 | "CLOSURE" |
| 60 | }; | 59 | }; |
| 61 | 60 | ||
| 62 | #endif | 61 | #endif |
