diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-04-14 12:04:23 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-04-14 12:04:23 -0300 |
commit | 3f7797419e4d7493e1364290a5b127d1cb45e3bf (patch) | |
tree | 8dd91b0d008d5ea9f9c96eada86510495c97d1e3 /lpvm.h | |
parent | d9f83dded93a35fb333c4e1bd371c401f7129fd1 (diff) | |
download | lpeg-3f7797419e4d7493e1364290a5b127d1cb45e3bf.tar.gz lpeg-3f7797419e4d7493e1364290a5b127d1cb45e3bf.tar.bz2 lpeg-3f7797419e4d7493e1364290a5b127d1cb45e3bf.zip |
Removed 'unsigned char' limit on number of rules in grammars
Added a new tree-type node 'TXInfo', which follows 'TRule' nodes,
to store extra information about a node. (In this case, the rule
number, with an 'unsigned short' field.)
Diffstat (limited to 'lpvm.h')
-rw-r--r-- | lpvm.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,7 +33,8 @@ typedef enum Opcode { | |||
33 | IFullCapture, /* complete capture of last 'off' chars */ | 33 | IFullCapture, /* complete capture of last 'off' chars */ |
34 | IOpenCapture, /* start a capture */ | 34 | IOpenCapture, /* start a capture */ |
35 | ICloseCapture, | 35 | ICloseCapture, |
36 | ICloseRunTime | 36 | ICloseRunTime, |
37 | IEmpty /* to fill empty slots left by optimizations */ | ||
37 | } Opcode; | 38 | } Opcode; |
38 | 39 | ||
39 | 40 | ||