minor code touchup
This commit is contained in:
parent
e46356071b
commit
a1b942f80d
@ -27,10 +27,6 @@
|
|||||||
|
|
||||||
/* this file is supposed to be included by opt.c multiple times */
|
/* this file is supposed to be included by opt.c multiple times */
|
||||||
|
|
||||||
|
|
||||||
#include <moo-opt.h>
|
|
||||||
#include <moo-utl.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* moo_getopt is based on BSD getopt.
|
* moo_getopt is based on BSD getopt.
|
||||||
* --------------------------------------------------------------------------
|
* --------------------------------------------------------------------------
|
||||||
|
@ -4229,10 +4229,12 @@ moo_t* moo_openstd (moo_oow_t xtnsize, const moo_cfgstd_t* cfg, moo_errinf_t* er
|
|||||||
|
|
||||||
#if defined(EMSCRIPTEN)
|
#if defined(EMSCRIPTEN)
|
||||||
{
|
{
|
||||||
|
/* TODO: this is experimental. make it proper */
|
||||||
moo_bitmask_t m = ~(moo_bitmask_t)0;
|
moo_bitmask_t m = ~(moo_bitmask_t)0;
|
||||||
moo_setoption (moo, MOO_OPTION_LOG_MASK, &m);
|
moo_setoption (moo, MOO_OPTION_LOG_MASK, &m);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
{
|
{
|
||||||
moo_bitmask_t bm = 0;
|
moo_bitmask_t bm = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user