ok, I just did that and it works... however I've got another problem:
I am building a parser and have write this in one of the rule:
Code:
| TFOR '(' stmnttemp1 ';' ';' stmnttemp1 ')' stmt
{
/* tree */
$$.node = MakeTreeStmt($3.node, NULL, $6.node, $8.node, T_STMT_FOR, NULL);
}
the error is at:
Code:
$$.node = MakeTreeStmt($3.node, NULL, $6.node, $8.node, T_STMT_FOR, NULL);
it always complaints the same error as above;
warning: assignment makes pointer from integer without a cast
I've already included the file where MakeTreeStnt is declared in the included up above, but it still shows the error... so is there any way to fix this?