aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_eval.h
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-10-15 15:29:13 -0400
committerGitHub <noreply@github.com>2016-10-15 15:29:13 -0400
commit885db120fa51ea5209ed97a4096b756dc998cf05 (patch)
tree5a29c66fe1c7e28f34e20e200d88de812378923d /src/nvim/ex_eval.h
parent9477c5bb5baf1d017234cc294b82db9fb923c351 (diff)
parent1dd98a03aa90daafe2992ce65b570c5f59b28777 (diff)
downloadrneovim-885db120fa51ea5209ed97a4096b756dc998cf05.tar.gz
rneovim-885db120fa51ea5209ed97a4096b756dc998cf05.tar.bz2
rneovim-885db120fa51ea5209ed97a4096b756dc998cf05.zip
Merge pull request #5456 from jamessan/char-sign-conversion
Enable CI testing of unsigned char and fix fallout
Diffstat (limited to 'src/nvim/ex_eval.h')
-rw-r--r--src/nvim/ex_eval.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/nvim/ex_eval.h b/src/nvim/ex_eval.h
index 30871c7711..f61e01d25b 100644
--- a/src/nvim/ex_eval.h
+++ b/src/nvim/ex_eval.h
@@ -23,19 +23,19 @@ struct eslist_elem {
#define CSTACK_LEN 50
struct condstack {
- short cs_flags[CSTACK_LEN]; /* CSF_ flags */
- char cs_pending[CSTACK_LEN]; /* CSTP_: what's pending in ":finally"*/
+ int cs_flags[CSTACK_LEN]; // CSF_ flags
+ char cs_pending[CSTACK_LEN]; // CSTP_: what's pending in ":finally"
union {
- void *csp_rv[CSTACK_LEN]; /* return typeval for pending return */
- void *csp_ex[CSTACK_LEN]; /* exception for pending throw */
+ void *csp_rv[CSTACK_LEN]; // return typeval for pending return
+ void *csp_ex[CSTACK_LEN]; // exception for pending throw
} cs_pend;
- void *cs_forinfo[CSTACK_LEN]; /* info used by ":for" */
- int cs_line[CSTACK_LEN]; /* line nr of ":while"/":for" line */
- int cs_idx; /* current entry, or -1 if none */
- int cs_looplevel; /* nr of nested ":while"s and ":for"s */
- int cs_trylevel; /* nr of nested ":try"s */
- eslist_T *cs_emsg_silent_list; /* saved values of "emsg_silent" */
- char cs_lflags; /* loop flags: CSL_ flags */
+ void *cs_forinfo[CSTACK_LEN]; // info used by ":for"
+ int cs_line[CSTACK_LEN]; // line nr of ":while"/":for" line
+ int cs_idx; // current entry, or -1 if none
+ int cs_looplevel; // nr of nested ":while"s and ":for"s
+ int cs_trylevel; // nr of nested ":try"s
+ eslist_T *cs_emsg_silent_list; // saved values of "emsg_silent"
+ int cs_lflags; // loop flags: CSL_ flags
};
# define cs_rettv cs_pend.csp_rv
# define cs_exception cs_pend.csp_ex