static bool thread;
static bool disable_assert;
static bool disable_checking;
- static bool non_null;
+ static bool disable_non_null;
static bool non_null_experimental;
static bool verbose;
static string cc_command;
{ "define", 'D', 0, OptionArg.STRING_ARRAY, out defines, "Define SYMBOL", "SYMBOL..." },
{ "disable-assert", 0, 0, OptionArg.NONE, ref disable_assert, "Disable assertions", null },
{ "disable-checking", 0, 0, OptionArg.NONE, ref disable_checking, "Disable run-time checks", null },
- { "enable-non-null", 0, 0, OptionArg.NONE, ref non_null, "Enable non-null types", null },
+ { "disable-non-null", 0, 0, OptionArg.NONE, ref disable_non_null, "Disable non-null types", null },
{ "enable-non-null-experimental", 0, 0, OptionArg.NONE, ref non_null_experimental, "Enable experimental enhancements for non-null types", null },
{ "cc", 0, 0, OptionArg.STRING, out cc_command, "Use COMMAND as C compiler command", "COMMAND" },
{ "Xcc", 'X', 0, OptionArg.STRING_ARRAY, out cc_options, "Pass OPTION to the C compiler", "OPTION..." },
context.library = library;
context.assert = !disable_assert;
context.checking = !disable_checking;
- context.non_null = non_null || non_null_experimental || true;
+ context.non_null = !disable_non_null || non_null_experimental;
context.non_null_experimental = non_null_experimental;
Report.set_verbose_errors (verbose);