diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/check_expr.cpp | 2 | ||||
| -rw-r--r-- | src/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 2b3a3d66c..ab9a42e6f 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -2908,7 +2908,7 @@ bool check_builtin_procedure(Checker *c, Operand *operand, AstNode *call, i32 id operand->mode = Addressing_Value; } else if (name == "assert") { if (ce->args.count != 1) { - error(call, "'#assert' expects at 1 argument, got %td", ce->args.count); + error(call, "'#assert' expects 1 argument, got %td", ce->args.count); return false; } if (!is_type_boolean(operand->type) && operand->mode != Addressing_Constant) { diff --git a/src/main.cpp b/src/main.cpp index a3fc783a7..d528de0b9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,6 @@ // #define NO_ARRAY_BOUNDS_CHECK #define NO_POINTER_ARITHMETIC -// #define NO_DEFAULT_STRUCT_VALUES +#define NO_DEFAULT_STRUCT_VALUES #include "common.cpp" #include "timings.cpp" |