aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/include
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2025-11-30 14:05:47 -0600
committerCalvin Rose <calsrose@gmail.com>2025-11-30 14:19:51 -0600
commitf79e4d6249ecc25f460204f2bc509dd1ad9713f5 (patch)
treec2e35a5a0a112a4924dff16fd1e2d2457fdd7f56 /src/include
parentRemove type constraint on doc for `+`. (diff)
Address #1674 - Add `cms` combinator to peg.
It behaves like `cmt`, but flattens the result and can collect multiple captures if an indexed data structure is returned.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/janet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/janet.h b/src/include/janet.h
index 352d296d..37c660ab 100644
--- a/src/include/janet.h
+++ b/src/include/janet.h
@@ -2203,6 +2203,7 @@ typedef enum {
RULE_SPLIT, /* [rule, rule] */
RULE_NTH, /* [nth, rule, tag] */
RULE_ONLY_TAGS, /* [rule] */
+ RULE_MATCHSPLICE, /* [rule, constant, tag] */
} JanetPegOpcod;
typedef struct {