Make it compile as C++ code again.

This commit is contained in:
Dale Weiler 2013-02-06 10:36:27 +00:00
parent 9bc774dcd3
commit eb0e3c2898

View file

@ -1091,7 +1091,7 @@ static bool parser_sy_apply_operator(parser_t *parser, shunt *sy)
} else {
ast_binary *eq = ast_binary_new(ctx, INSTR_EQ_F, exprs[0], exprs[1]);
eq->refs = false; /* references nothing */
eq->refs = (ast_binary_ref)false; /* references nothing */
/* if (lt) { */
out = (ast_expression*)ast_ternary_new(ctx,