diff options
| author | 2023-12-27 08:26:50 -0800 | |
|---|---|---|
| committer | 2024-01-05 22:02:52 -0800 | |
| commit | 61f38fab37f8e01c43df9e65cbbb6b357e888c8d (patch) | |
| tree | b065ffc6e9b1a2e5532b037a4d86a5445a8ff673 /src/include | |
| parent | Merge pull request #1344 from ianthehenry/peg-sub-special (diff) | |
add a new (split) PEG special
This works similarly to string/split, but the separator is a PEG.
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 4e486145..1cfb970f 100644 --- a/src/include/janet.h +++ b/src/include/janet.h @@ -2141,7 +2141,8 @@ typedef enum { RULE_COLUMN, /* [tag] */ RULE_UNREF, /* [rule, tag] */ RULE_CAPTURE_NUM, /* [rule, tag] */ - RULE_SUB /* [rule, rule] */ + RULE_SUB, /* [rule, rule] */ + RULE_SPLIT /* [rule, rule] */ } JanetPegOpcod; typedef struct { |
