diff options
| author | 2019-04-13 19:32:31 -0400 | |
|---|---|---|
| committer | 2019-04-14 11:42:41 -0400 | |
| commit | 75271425491a5c0b6d5b56b18de6cc9798ac7b34 (patch) | |
| tree | 3444526b1e745eb02190ac432d6831bfbcfaac4a | |
| parent | Fix parse insert bug. (diff) | |
Prepare for 0.4.1 releasev0.4.1
| -rw-r--r-- | CHANGELOG.md | 4 | ||||
| -rw-r--r-- | src/core/peg.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 84122f2f..8f5ffbe5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,9 @@ # Changelog All notable changes to this project will be documented in this file. -## 0.4.1 latest - ?? +## 0.4.1 - 2019-04-14 +- Squash some bugs +- Peg patterns can now make captures in any position in a grammar. - Add color to repl output - Add array/remove function - Add meson build support diff --git a/src/core/peg.c b/src/core/peg.c index 1866ab8d..72e6c67b 100644 --- a/src/core/peg.c +++ b/src/core/peg.c @@ -318,7 +318,7 @@ tail: s->mode = oldmode; if (!result) return NULL; Janet cap = janet_stringv(s->scratch->data + cs.scratch, - s->scratch->count - cs.scratch); + s->scratch->count - cs.scratch); cap_load(s, cs); pushcap(s, cap, tag); return result; |
