diff options
| author | 2021-09-19 13:02:16 -0500 | |
|---|---|---|
| committer | 2021-09-19 13:02:16 -0500 | |
| commit | cccbdc164c532393d5af91c656d1a564b97eaa7c (patch) | |
| tree | 010eb76884e86c85c91bf305776af5e1edd56785 /src/include/janet.h | |
| parent | Fix typo in changelog. (diff) | |
Add (number combinator to peg).
This allows using Janet's number parser without creating
intermediate strings.
Diffstat (limited to 'src/include/janet.h')
| -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 9c741b0f..a718efae 100644 --- a/src/include/janet.h +++ b/src/include/janet.h @@ -2040,7 +2040,8 @@ typedef enum { RULE_READINT, /* [(signedness << 4) | (endianess << 5) | bytewidth, tag] */ RULE_LINE, /* [tag] */ RULE_COLUMN, /* [tag] */ - RULE_UNREF /* [rule, tag] */ + RULE_UNREF, /* [rule, tag] */ + RULE_CAPTURE_NUM /* [rule, tag] */ } JanetPegOpcod; typedef struct { |
