aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/include
diff options
context:
space:
mode:
authorIan Henry <ianthehenry@gmail.com>2024-12-04 21:17:10 -0800
committerIan Henry <ianthehenry@gmail.com>2024-12-04 21:17:10 -0800
commit952906279c8ad7370c11a363955fa1a852adea63 (patch)
tree9c738693f873fec5a5de99348f63b8d67ff62f10 /src/include
parentAdd an extra has mix round to string hashes. (diff)
add (til) PEG special
(til sep subpattern) is a specialized (sub) that behaves like (sub (to sep) subpattern), but advances over the input like (thru sep).
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 8ec75e4f..974ee837 100644
--- a/src/include/janet.h
+++ b/src/include/janet.h
@@ -2180,6 +2180,7 @@ typedef enum {
RULE_UNREF, /* [rule, tag] */
RULE_CAPTURE_NUM, /* [rule, tag] */
RULE_SUB, /* [rule, rule] */
+ RULE_TIL, /* [rule, rule] */
RULE_SPLIT, /* [rule, rule] */
RULE_NTH, /* [nth, rule, tag] */
RULE_ONLY_TAGS, /* [rule] */