Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- do while
- do_while_statement
- :
- _DO statement _WHILE _LPAREN _D _RELOP literal _RPAREN _SEMICOLON
- {
- int idx;
- if( (idx = lookup_symbol($5, VAR|PAR))==-1)
- err("'%s' undeclared" ,$5);
- if(!=check_types(idx, $7))
- err("Incompotable types in do while");
- }
- ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement