summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--bld.proj1
-rw-r--r--libstd/optparse.myr4
3 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0ceae85..a9232a8 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ include mk/c.mk
include config.mk
check: all
- $(MAKE) -C test check #&& \
+ ./mbldwrap.sh test:runtest
# BORKED. ./mbldwrap.sh test
bench: all
diff --git a/bld.proj b/bld.proj
index 1f23b30..f188846 100644
--- a/bld.proj
+++ b/bld.proj
@@ -3,5 +3,6 @@ sub =
libstd
libbio
libregex
+ test
;;
diff --git a/libstd/optparse.myr b/libstd/optparse.myr
index 8b71ce8..e9bf96e 100644
--- a/libstd/optparse.myr
+++ b/libstd/optparse.myr
@@ -42,10 +42,10 @@ type optctx = struct
optargs : byte[:][:]
/* state */
- optdone : bool /* if we've seen '--', everything's an arg */
- finished : bool /* if we've processed all the optargs */
argidx : size
curarg : byte[:]
+ optdone : bool /* if we've seen '--', everything's an arg */
+ finished : bool /* if we've processed all the optargs */
;;