diff options
| author | gingerBill <bill@gingerbill.org> | 2019-12-27 15:49:52 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-12-27 15:49:52 +0000 |
| commit | f99f351e01dc8140a36c1a9b5568f5081cfa1e70 (patch) | |
| tree | cd981905bb5924532624f375bfb478ea639d1d16 /src/check_decl.cpp | |
| parent | 880c7f01a8ee71f9001ad7d9558753cf8d512845 (diff) | |
Add constant literal expressions
Diffstat (limited to 'src/check_decl.cpp')
| -rw-r--r-- | src/check_decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 70344339c..f59d072b7 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -162,7 +162,7 @@ void check_init_constant(CheckerContext *ctx, Entity *e, Operand *operand) { return; } -#if 1 +#if 0 if (!is_type_constant_type(operand->type)) { gbString type_str = type_to_string(operand->type); error(operand->expr, "Invalid constant type: '%s'", type_str); |