diff options
author | Sergio Medeiros <sqmedeiros@gmail.com> | 2014-11-13 16:54:52 -0300 |
---|---|---|
committer | Sergio Medeiros <sqmedeiros@gmail.com> | 2014-11-13 16:54:52 -0300 |
commit | a5a4b257e626847be3be4878c603adb51cbb420f (patch) | |
tree | 264346e52b60a17f7d610bca787528920d1f69c5 /lpvm.h | |
parent | 4d9fd92a7fcd124b2dc62e149bf218a6d2f5d711 (diff) | |
download | lpeglabel-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ typedef union Instruction { | |||
55 | int getposition (lua_State *L, int t, int i); | 55 | int getposition (lua_State *L, int t, int i); |
56 | void printpatt (Instruction *p, int n); | 56 | void printpatt (Instruction *p, int n); |
57 | const char *match (lua_State *L, const char *o, const char *s, const char *e, | 57 | const 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); |
59 | int verify (lua_State *L, Instruction *op, const Instruction *p, | 59 | int verify (lua_State *L, Instruction *op, const Instruction *p, |
60 | Instruction *e, int postable, int rule); | 60 | Instruction *e, int postable, int rule); |
61 | void checkrule (lua_State *L, Instruction *op, int from, int to, | 61 | void checkrule (lua_State *L, Instruction *op, int from, int to, |