diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | bld.proj | 1 | ||||
-rw-r--r-- | libstd/optparse.myr | 4 |
3 files changed, 4 insertions, 3 deletions
@@ -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 @@ -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 */ ;; |