summaryrefslogtreecommitdiff
path: root/libregex/types.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-01 22:07:13 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-01 22:07:29 -0700
commit2160d782ffa10f48473a36105c342323a0b7f26c (patch)
treed2581627161dc93652d9c58308bb7e63ea9c7ce0 /libregex/types.myr
parentf80db1cc005bd118f5e6910be4fa305290832a54 (diff)
downloadmc-2160d782ffa10f48473a36105c342323a0b7f26c.tar.gz
Add regex dumper.
Diffstat (limited to 'libregex/types.myr')
-rw-r--r--libregex/types.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/libregex/types.myr b/libregex/types.myr
index a0f8ceb..2bfa6c9 100644
--- a/libregex/types.myr
+++ b/libregex/types.myr
@@ -66,7 +66,7 @@ pkg regex =
mend : std.size[:] /* match ends */
;;
- type reinst = union
+ pkglocal type reinst = union
/* direct consumers */
`Ibyte byte
`Irange (byte, byte)
@@ -84,6 +84,6 @@ pkg regex =
/* control flow */
`Ifork (std.size, std.size)
`Ijmp std.size
- `Imatch
+ `Imatch std.size
;;
;;