From 3f7797419e4d7493e1364290a5b127d1cb45e3bf Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sun, 14 Apr 2019 12:04:23 -0300 Subject: 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.) --- lpvm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lpvm.h') diff --git a/lpvm.h b/lpvm.h index 69ec33d..576429f 100644 --- a/lpvm.h +++ b/lpvm.h @@ -33,7 +33,8 @@ typedef enum Opcode { IFullCapture, /* complete capture of last 'off' chars */ IOpenCapture, /* start a capture */ ICloseCapture, - ICloseRunTime + ICloseRunTime, + IEmpty /* to fill empty slots left by optimizations */ } Opcode; -- cgit v1.2.3-55-g6feb