diff options
| author | 2023-12-04 23:34:40 -0800 | |
|---|---|---|
| committer | 2023-12-28 22:15:54 -0800 | |
| commit | ea750863008affed0daa8521f1d1915f81616866 (patch) | |
| tree | e820667b379b928e6023e4e930faa45ea814ff05 /src/include | |
| parent | Merge pull request #1334 from iacore/fix-0 (diff) | |
add a new (sub) PEG special
(sub) will first match one pattern, then match another pattern against the
text that the first pattern advanced over.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/janet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/janet.h b/src/include/janet.h index 5724af2b..4e486145 100644 --- a/src/include/janet.h +++ b/src/include/janet.h @@ -2140,7 +2140,8 @@ typedef enum { RULE_LINE, /* [tag] */ RULE_COLUMN, /* [tag] */ RULE_UNREF, /* [rule, tag] */ - RULE_CAPTURE_NUM /* [rule, tag] */ + RULE_CAPTURE_NUM, /* [rule, tag] */ + RULE_SUB /* [rule, rule] */ } JanetPegOpcod; typedef struct { |
