diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-02 17:56:35 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-02 17:56:35 +0100 |
commit | 887c1fea4a114e7170091942d0446c8882701b5b (patch) | |
tree | 23173526918b54763e5eed1b26a7bdad3ac7884a /src/proto | |
parent | acf92d27c94811e3bd6b84cfd54246e91d44c355 (diff) | |
download | vim-887c1fea4a114e7170091942d0446c8882701b5b.zip |
patch 7.4.1027
Problem: No support for binary numbers.
Solution: Add "bin" to nrformats. (Jason Schulz)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/charset.pro | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/proto/charset.pro b/src/proto/charset.pro index dd3b6f2a0..22e43cd7a 100644 --- a/src/proto/charset.pro +++ b/src/proto/charset.pro @@ -36,11 +36,14 @@ void getvvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, co void getvcols __ARGS((win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right)); char_u *skipwhite __ARGS((char_u *q)); char_u *skipdigits __ARGS((char_u *q)); +char_u *skipbin __ARGS((char_u *q)); char_u *skiphex __ARGS((char_u *q)); +char_u *skiptobin __ARGS((char_u *q)); char_u *skiptodigit __ARGS((char_u *q)); char_u *skiptohex __ARGS((char_u *q)); int vim_isdigit __ARGS((int c)); int vim_isxdigit __ARGS((int c)); +int vim_isbdigit __ARGS((int c)); int vim_islower __ARGS((int c)); int vim_isupper __ARGS((int c)); int vim_toupper __ARGS((int c)); @@ -49,7 +52,7 @@ char_u *skiptowhite __ARGS((char_u *p)); char_u *skiptowhite_esc __ARGS((char_u *p)); long getdigits __ARGS((char_u **pp)); int vim_isblankline __ARGS((char_u *lbuf)); -void vim_str2nr __ARGS((char_u *start, int *hexp, int *len, int dooct, int dohex, long *nptr, unsigned long *unptr, int strlen)); +void vim_str2nr __ARGS((char_u *start, int *prep, int *len, int what, long *nptr, unsigned long *unptr, int maxlen)); int hex2nr __ARGS((int c)); int hexhex2nr __ARGS((char_u *p)); int rem_backslash __ARGS((char_u *str)); |