mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Sync
This commit is contained in:
parent
80b391aff1
commit
f47d872df1
5 changed files with 15 additions and 13 deletions
|
|
@ -66,7 +66,7 @@ fun createMatcher (buf, pos, line, col) {
|
|||
if x < y then x else y fi
|
||||
}
|
||||
|
||||
-- printf ("Matching regexp %s against %s...\n", r.string, substring (buf, pos, min (10, buf.length - pos)));
|
||||
-- printf ("Matching regexp %x against %s...\n", r, substring (buf, pos, min (10, buf.length - pos)));
|
||||
|
||||
if (n := regexpMatch (r[0], buf, pos)) >= 0
|
||||
then Succ (substring (buf, pos, n), shift (n))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue