Mercurial > vim
comparison src/structs.h @ 79:e918d3e340a4
updated for version 7.0032
author | vimboss |
---|---|
date | Thu, 06 Jan 2005 23:24:37 +0000 |
parents | 388f285bda1b |
children | e8f07016e34d |
comparison
equal
deleted
inserted
replaced
78:b00be47310ed | 79:e918d3e340a4 |
---|---|
599 char cs_pending[CSTACK_LEN]; /* CSTP_: what's pending in ":finally"*/ | 599 char cs_pending[CSTACK_LEN]; /* CSTP_: what's pending in ":finally"*/ |
600 union { | 600 union { |
601 void *csp_rv[CSTACK_LEN]; /* return typeval for pending return */ | 601 void *csp_rv[CSTACK_LEN]; /* return typeval for pending return */ |
602 void *csp_ex[CSTACK_LEN]; /* exception for pending throw */ | 602 void *csp_ex[CSTACK_LEN]; /* exception for pending throw */ |
603 } cs_pend; | 603 } cs_pend; |
604 void *cs_fors[CSTACK_LEN]; /* info used by ":for" */ | 604 void *cs_forinfo[CSTACK_LEN]; /* info used by ":for" */ |
605 int cs_line[CSTACK_LEN]; /* line nr of ":while"/":for" line */ | 605 int cs_line[CSTACK_LEN]; /* line nr of ":while"/":for" line */ |
606 int cs_idx; /* current entry, or -1 if none */ | 606 int cs_idx; /* current entry, or -1 if none */ |
607 int cs_looplevel; /* nr of nested ":while"s and ":for"s */ | 607 int cs_looplevel; /* nr of nested ":while"s and ":for"s */ |
608 int cs_trylevel; /* nr of nested ":try"s */ | 608 int cs_trylevel; /* nr of nested ":try"s */ |
609 eslist_T *cs_emsg_silent_list; /* saved values of "emsg_silent" */ | 609 eslist_T *cs_emsg_silent_list; /* saved values of "emsg_silent" */ |
610 char cs_lflags; /* loop flags: CSL_ flags */ | 610 char cs_lflags; /* loop flags: CSL_ flags */ |
611 }; | 611 }; |
612 # define cs_rettv cs_pend.csp_rv | 612 # define cs_rettv cs_pend.csp_rv |
613 # define cs_exception cs_pend.csp_ex | 613 # define cs_exception cs_pend.csp_ex |
614 | 614 |
615 /* There is no CSF_IF, the lack of CSF_WHILE, CSF_FOR and CSF_TRY means ":if" | |
616 * was used. */ | |
615 # define CSF_TRUE 0x0001 /* condition was TRUE */ | 617 # define CSF_TRUE 0x0001 /* condition was TRUE */ |
616 # define CSF_ACTIVE 0x0002 /* current state is active */ | 618 # define CSF_ACTIVE 0x0002 /* current state is active */ |
617 # define CSF_ELSE 0x0004 /* ":else" has been passed */ | 619 # define CSF_ELSE 0x0004 /* ":else" has been passed */ |
618 # define CSF_WHILE 0x0008 /* is a ":while" */ | 620 # define CSF_WHILE 0x0008 /* is a ":while" */ |
619 # define CSF_FOR 0x0010 /* is a ":for" */ | 621 # define CSF_FOR 0x0010 /* is a ":for" */ |