Bugfix in runtime and documentation

This commit is contained in:
Dmitry Boulytchev 2020-03-21 13:05:14 +03:00
parent c084e57b27
commit e4b34a3ec1
5 changed files with 18 additions and 13 deletions

View file

@ -8,7 +8,9 @@
-- (e.g. "identifier", "string constant", etc.), used for error
-- reporting
public fun createRegexp (r, name) {
[regexp (r), name]
local l = [regexp (r), name];
--printf ("Created regexp %s: %x, %x\n", name, l, l[0]);
l
}
-- Create an immutable matcher.