From f99f351e01dc8140a36c1a9b5568f5081cfa1e70 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 27 Dec 2019 15:49:52 +0000 Subject: Add constant literal expressions --- src/check_decl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/check_decl.cpp') 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); -- cgit v1.2.3