aboutsummaryrefslogtreecommitdiff
path: root/lpvm.h
diff options
context:
space:
mode:
authorSergio Medeiros <sqmedeiros@gmail.com>2014-11-13 16:54:52 -0300
committerSergio Medeiros <sqmedeiros@gmail.com>2014-11-13 16:54:52 -0300
commita5a4b257e626847be3be4878c603adb51cbb420f (patch)
tree264346e52b60a17f7d610bca787528920d1f69c5 /lpvm.h
parent4d9fd92a7fcd124b2dc62e149bf218a6d2f5d711 (diff)
downloadlpeglabel-a5a4b257e626847be3be4878c603adb51cbb420f.tar.gz
lpeglabel-a5a4b257e626847be3be4878c603adb51cbb420f.tar.bz2
lpeglabel-a5a4b257e626847be3be4878c603adb51cbb420f.zip
'match' function now returns the 'nil' plus a list of labels
Diffstat (limited to 'lpvm.h')
-rw-r--r--lpvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lpvm.h b/lpvm.h
index 8024b45..bb485af 100644
--- a/lpvm.h
+++ b/lpvm.h
@@ -55,7 +55,7 @@ typedef union Instruction {
55int getposition (lua_State *L, int t, int i); 55int getposition (lua_State *L, int t, int i);
56void printpatt (Instruction *p, int n); 56void printpatt (Instruction *p, int n);
57const char *match (lua_State *L, const char *o, const char *s, const char *e, 57const char *match (lua_State *L, const char *o, const char *s, const char *e,
58 Instruction *op, Capture *capture, int ptop); 58 Instruction *op, Capture *capture, int ptop, Labelset *labelf);
59int verify (lua_State *L, Instruction *op, const Instruction *p, 59int verify (lua_State *L, Instruction *op, const Instruction *p,
60 Instruction *e, int postable, int rule); 60 Instruction *e, int postable, int rule);
61void checkrule (lua_State *L, Instruction *op, int from, int to, 61void checkrule (lua_State *L, Instruction *op, int from, int to,