diff options
| author | 2026-02-04 18:44:46 -0600 | |
|---|---|---|
| committer | 2026-02-04 18:44:46 -0600 | |
| commit | 416bba9bd9b969ed10517afba969bea0f9cc635b (patch) | |
| tree | 05a01bfe1b250bd85cc1e1d163fe61012a287000 /src/include | |
| parent | Speed up symbol resolution. (diff) | |
Add ??/debug PEG rule (#1710)
* Add debug (short-form ??) PEG rule
* Display capture stack to debug PEG rule
* Revise spec_debug to emit just the rule
* Update to proper indentation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add a marshal/unmarshal test for ??/debug
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/janet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/janet.h b/src/include/janet.h index 2bada6e6..e1a5c79a 100644 --- a/src/include/janet.h +++ b/src/include/janet.h @@ -2318,6 +2318,7 @@ typedef enum { RULE_NTH, /* [nth, rule, tag] */ RULE_ONLY_TAGS, /* [rule] */ RULE_MATCHSPLICE, /* [rule, constant, tag] */ + RULE_DEBUG, /* [] */ } JanetPegOpcode; typedef struct { |
