blob: bd68eeaba764892d423782dce565eaa1117d111c [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* ex_eval.c */
Bram Moolenaaref269542016-01-19 13:22:12 +01002int aborting(void);
3void update_force_abort(void);
4int should_abort(int retcode);
5int aborted_in_try(void);
6int cause_errthrow(char_u *mesg, int severe, int *ignore);
7void free_global_msglist(void);
Bram Moolenaarddef1292019-12-16 17:10:33 +01008void do_errthrow(cstack_T *cstack, char_u *cmdname);
9int do_intthrow(cstack_T *cstack);
Bram Moolenaarf9e3e092019-01-13 23:38:42 +010010char *get_exception_string(void *value, except_type_T type, char_u *cmdname, int *should_free);
Bram Moolenaaref269542016-01-19 13:22:12 +010011void discard_current_exception(void);
12void report_make_pending(int pending, void *value);
Bram Moolenaar25e42232019-08-04 15:04:10 +020013void ex_eval(exarg_T *eap);
Bram Moolenaaref269542016-01-19 13:22:12 +010014void ex_if(exarg_T *eap);
15void ex_endif(exarg_T *eap);
16void ex_else(exarg_T *eap);
17void ex_while(exarg_T *eap);
18void ex_continue(exarg_T *eap);
19void ex_break(exarg_T *eap);
20void ex_endwhile(exarg_T *eap);
21void ex_throw(exarg_T *eap);
Bram Moolenaarddef1292019-12-16 17:10:33 +010022void do_throw(cstack_T *cstack);
Bram Moolenaaref269542016-01-19 13:22:12 +010023void ex_try(exarg_T *eap);
24void ex_catch(exarg_T *eap);
25void ex_finally(exarg_T *eap);
26void ex_endtry(exarg_T *eap);
27void enter_cleanup(cleanup_T *csp);
28void leave_cleanup(cleanup_T *csp);
Bram Moolenaarddef1292019-12-16 17:10:33 +010029int cleanup_conditionals(cstack_T *cstack, int searched_cond, int inclusive);
30void rewind_conditionals(cstack_T *cstack, int idx, int cond_type, int *cond_level);
Bram Moolenaaref269542016-01-19 13:22:12 +010031void ex_endfunction(exarg_T *eap);
32int has_loop_cmd(char_u *p);
Bram Moolenaar071d4272004-06-13 20:20:40 +000033/* vim: set ft=c : */