diff options
Diffstat (limited to 'lpcode.h')
-rw-r--r-- | lpcode.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lpcode.h,v 1.8 2016/09/15 17:46:13 roberto Exp $ | 2 | ** $Id: lpcode.h,v 1.7 2015/06/12 18:24:45 roberto Exp $ |
3 | */ | 3 | */ |
4 | 4 | ||
5 | #if !defined(lpcode_h) | 5 | #if !defined(lpcode_h) |
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | int tocharset (TTree *tree, Charset *cs); | 14 | int tocharset (TTree *tree, Charset *cs); |
15 | int checkaux (TTree *tree, int pred); | 15 | int checkaux (TTree *tree, int pred); |
16 | int fixedlen (TTree *tree); | 16 | int fixedlenx (TTree *tree, int count, int len); |
17 | int hascaptures (TTree *tree); | 17 | int hascaptures (TTree *tree); |
18 | int lp_gc (lua_State *L); | 18 | int lp_gc (lua_State *L); |
19 | Instruction *compile (lua_State *L, Pattern *p); | 19 | Instruction *compile (lua_State *L, Pattern *p); |
@@ -35,6 +35,8 @@ int sizei (const Instruction *i); | |||
35 | */ | 35 | */ |
36 | #define nullable(t) checkaux(t, PEnullable) | 36 | #define nullable(t) checkaux(t, PEnullable) |
37 | 37 | ||
38 | #define fixedlen(t) fixedlenx(t, 0, 0) | ||
39 | |||
38 | 40 | ||
39 | 41 | ||
40 | #endif | 42 | #endif |