Parser Slightly different grammar example... "->pointer;" postfix_expr ....... | postfix_expr PTR_OP identifier { /* add to symbol table */ $4 = addsym($4->name,NestLevel); /* set flag for pointer */ $4->implicit = 1; /* add pointer node to AST */ $$ = newnode(PTR_OP,$1,newast_val(symval($4))); } ... | postfix_expr INC_OP /* ++ */ { $$ = newnode(INC_OP, $1, NULL); }