./chibicc -c -o ./issues/issue157.exe ./issues/issue157.c
./issues/issue157.c:1035: union string_value lval = {}, rval = {};
^ parse.c: in primary : expected an expression
it was caused by empty value, if we add 0 like lval = {0}, it compiles fine. Need to manage empty initializer for union. gcc compiles fine empty union.
./chibicc -c -o ./issues/issue157.exe ./issues/issue157.c ./issues/issue157.c:1035: union string_value lval = {}, rval = {}; ^ parse.c: in primary : expected an expression
it was caused by empty value, if we add 0 like lval = {0}, it compiles fine. Need to manage empty initializer for union. gcc compiles fine empty union.