ref: ed04d47bc8b7ea8eac5f84d71383e6a63c544182
parent: fb0c459a47563a8f455962ae8dc26654ae1d4d9c
author: Ori Bernstein <ori@markovcorp.com>
date: Wed Mar 28 11:20:16 EDT 2018
Fix typos in build.
--- a/lib/regex/interp.myr
+++ b/lib/regex/interp.myr
@@ -309,7 +309,8 @@
* operating over the same characters, and finishing
* at the same time.
*/
-const step = {re, thr, curip var str, nthr, inst
+const step = {re, thr, curip
+ var str, nthr, inst
str = re.str
inst = re.code[thr.ip]
--- a/lib/regex/redump.myr
+++ b/lib/regex/redump.myr
@@ -96,7 +96,7 @@
| `std.None:
std.put("Match failed at {}:\n", re.lastip)
std.put("\t{}\n", re.pat)
- caret(re, re.pcidx[re.lastip])
+ showpos(re, re.pcidx[re.lastip])
std.put("\t{}\n", ln)
showpos(re, re.strp - 1)
;;