aboutsummaryrefslogtreecommitdiff
path: root/lpvm.h
diff options
context:
space:
mode:
authorSérgio Queiroz <sqmedeiros@gmail.com>2017-12-26 09:46:38 -0300
committerSérgio Queiroz <sqmedeiros@gmail.com>2017-12-26 09:46:38 -0300
commitf6c68a6313e1700c25a523adde5f92ca1f7f67b6 (patch)
tree1b43605a84caaabb52934620b63b69a8d3a1e7ef /lpvm.h
parent4cd22aa26a5256009d258e81aa10419199decb39 (diff)
downloadlpeglabel-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 '')
-rw-r--r--lpvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lpvm.h b/lpvm.h
index a56da32..81a6678 100644
--- a/lpvm.h
+++ b/lpvm.h
@@ -53,7 +53,7 @@ typedef union Instruction {
53 53
54void printpatt (Instruction *p, int n); 54void printpatt (Instruction *p, int n);
55const char *match (lua_State *L, const char *o, const char *s, const char *e, 55const char *match (lua_State *L, const char *o, const char *s, const char *e,
56 Instruction *op, Capture *capture, int ptop, byte *labelf, const char **sfail); /* labeled failure */ 56 Instruction *op, Capture *capture, int ptop, short *labelf, const char **sfail); /* labeled failure */
57 57
58 58
59#endif 59#endif