diff options
author | Sérgio Queiroz <sqmedeiros@gmail.com> | 2017-12-26 09:46:38 -0300 |
---|---|---|
committer | Sérgio Queiroz <sqmedeiros@gmail.com> | 2017-12-26 09:46:38 -0300 |
commit | f6c68a6313e1700c25a523adde5f92ca1f7f67b6 (patch) | |
tree | 1b43605a84caaabb52934620b63b69a8d3a1e7ef /lpvm.c | |
parent | 4cd22aa26a5256009d258e81aa10419199decb39 (diff) | |
download | lpeglabel-f6c68a6313e1700c25a523adde5f92ca1f7f67b6.tar.gz lpeglabel-f6c68a6313e1700c25a523adde5f92ca1f7f67b6.tar.bz2 lpeglabel-f6c68a6313e1700c25a523adde5f92ca1f7f67b6.zip |
The var that keeps the number of a label should be short instead of byte
Diffstat (limited to 'lpvm.c')
-rw-r--r-- | lpvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ static int removedyncap (lua_State *L, Capture *capture, | |||
147 | ** Opcode interpreter | 147 | ** Opcode interpreter |
148 | */ | 148 | */ |
149 | const char *match (lua_State *L, const char *o, const char *s, const char *e, | 149 | const char *match (lua_State *L, const char *o, const char *s, const char *e, |
150 | Instruction *op, Capture *capture, int ptop, byte *labelf, const char **sfail) { /* labeled failure */ | 150 | Instruction *op, Capture *capture, int ptop, short *labelf, const char **sfail) { /* labeled failure */ |
151 | Stack stackbase[INITBACK]; | 151 | Stack stackbase[INITBACK]; |
152 | Stack *stacklimit = stackbase + INITBACK; | 152 | Stack *stacklimit = stackbase + INITBACK; |
153 | Stack *stack = stackbase; /* point to first empty slot in stack */ | 153 | Stack *stack = stackbase; /* point to first empty slot in stack */ |