Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- parser.y: In function ‘int yyparse()’:
- parser.y:585:23: error: cannot convert ‘ast_if’ to ‘ast_statement*’ in assignment
- $$ = ast_if(pos,$2, $4, $5, $6);
- ^
- parser.y:593:25: error: cannot convert ‘ast_while’ to ‘ast_statement*’ in assignment
- $$ = ast_while(pos, $2, $4);
- ^
- parser.y:601:23: error: cannot convert ‘ast_procedurecall’ to ‘ast_statement*’ in assignment
- $$ = ast_procedurecall(pos, $1, $3);
- ^
- parser.y:611:23: error: cannot convert ‘ast_assign’ to ‘ast_statement*’ in assignment
- $$ = ast_assign(pos, $1, $3);
- ^
- parser.y:619:23: error: cannot convert ‘ast_return’ to ‘ast_statement*’ in assignment
- $$ = ast_return(pos,$2);
- ^
- parser.y:627:23: error: cannot convert ‘ast_return’ to ‘ast_statement*’ in assignment
- $$ = ast_return(pos);
- ^
- parser.y:677:24: error: cannot convert ‘ast_elsif_list’ to ‘ast_elsif_list*’ in assignment
- $$ = ast_elsif_list(pos, $2);
- ^
- parser.y:693:19: error: cannot convert ‘ast_elsif’ to ‘ast_elsif*’ in assignment
- $$ = ast_elsif(pos,$2, $4);
- ^
- parser.y:736:29: error: cannot convert ‘ast_expr_list’ to ‘ast_expr_list*’ in assignment
- $$ = ast_expr_list(pos,$1);
- ^
- parser.y:745:29: error: cannot convert ‘ast_expr_list’ to ‘ast_expr_list*’ in assignment
- $$ = ast_expr_list(pos, $3, $1);
- ^
- parser.y:763:24: error: cannot convert ‘ast_equal’ to ‘ast_expression*’ in assignment
- $$ = ast_equal(pos, $1, $3);
- ^
- parser.y:773:24: error: cannot convert ‘ast_notequal’ to ‘ast_expression*’ in assignment
- $$ = ast_notequal(pos, $1, $3);
- ^
- parser.y:783:24: error: cannot convert ‘ast_lessthan’ to ‘ast_expression*’ in assignment
- $$ = ast_lessthan(pos, $1, $3);
- ^
- parser.y:792:24: error: cannot convert ‘ast_greaterthan’ to ‘ast_expression*’ in assignment
- $$ = ast_greaterthan(pos, $1, $3);
- ^
- parser.y:817:24: error: cannot convert ‘ast_uminus’ to ‘ast_expression*’ in assignment
- $$ = ast_uminus(pos, $2);
- ^
- parser.y:827:24: error: cannot convert ‘ast_or’ to ‘ast_expression*’ in assignment
- $$ = ast_or(pos, $1, $3);
- ^
- parser.y:836:24: error: cannot convert ‘ast_add’ to ‘ast_expression*’ in assignment
- $$ = ast_add(pos, $1, $3);
- ^
- parser.y:844:24: error: cannot convert ‘ast_sub’ to ‘ast_expression*’ in assignment
- $$ = ast_sub(pos, $1, $3);
- ^
- parser.y:860:24: error: cannot convert ‘ast_and’ to ‘ast_expression*’ in assignment
- $$ = ast_and(pos, $1, $3);
- ^
- parser.y:868:24: error: cannot convert ‘ast_mult’ to ‘ast_expression*’ in assignment
- $$ = ast_mult(pos, $1, $3);
- ^
- parser.y:876:24: error: cannot convert ‘ast_divide’ to ‘ast_expression*’ in assignment
- $$ = ast_divide(pos, $1, $3);
- ^
- parser.y:885:24: error: cannot convert ‘ast_idiv’ to ‘ast_expression*’ in assignment
- $$ = ast_idiv(pos, $1, $3);
- ^
- parser.y:893:24: error: cannot convert ‘ast_mod’ to ‘ast_expression*’ in assignment
- $$ = ast_mod(pos, $1, $3);
- ^
- parser.y:921:24: error: cannot convert ‘ast_not’ to ‘ast_expression*’ in assignment
- $$ = ast_not(pos, $2);
- ^
- parser.y:939:28: error: cannot convert ‘ast_functioncall’ to ‘ast_functioncall*’ in assignment
- $$ = ast_functioncall(pos, $1, $3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement