comparison src/proto/charset.pro @ 16706:77bcb5055fec v8.1.1355

patch 8.1.1355: obvious mistakes are accepted as valid expressions commit https://github.com/vim/vim/commit/16e9b85113e0b354ece1cb4f5fcc7866850f3685 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 19 19:59:35 2019 +0200 patch 8.1.1355: obvious mistakes are accepted as valid expressions Problem: Obvious mistakes are accepted as valid expressions. Solution: Be more strict about parsing numbers. (Yasuhiro Matsumoto, closes #3981)
author Bram Moolenaar <Bram@vim.org>
date Sun, 19 May 2019 20:00:09 +0200
parents 4dba3e4f3b01
children 0f7ae8010787
comparison
equal deleted inserted replaced
16705:033ac0bfd3ba 16706:77bcb5055fec
52 int vim_tolower(int c); 52 int vim_tolower(int c);
53 char_u *skiptowhite(char_u *p); 53 char_u *skiptowhite(char_u *p);
54 char_u *skiptowhite_esc(char_u *p); 54 char_u *skiptowhite_esc(char_u *p);
55 long getdigits(char_u **pp); 55 long getdigits(char_u **pp);
56 int vim_isblankline(char_u *lbuf); 56 int vim_isblankline(char_u *lbuf);
57 void vim_str2nr(char_u *start, int *prep, int *len, int what, varnumber_T *nptr, uvarnumber_T *unptr, int maxlen); 57 void vim_str2nr(char_u *start, int *prep, int *len, int what, varnumber_T *nptr, uvarnumber_T *unptr, int maxlen, int strict);
58 int hex2nr(int c); 58 int hex2nr(int c);
59 int hexhex2nr(char_u *p); 59 int hexhex2nr(char_u *p);
60 int rem_backslash(char_u *str); 60 int rem_backslash(char_u *str);
61 void backslash_halve(char_u *p); 61 void backslash_halve(char_u *p);
62 char_u *backslash_halve_save(char_u *p); 62 char_u *backslash_halve_save(char_u *p);