comparison src/vim.h @ 7447:ad432f8f68fb v7.4.1027

commit https://github.com/vim/vim/commit/887c1fea4a114e7170091942d0446c8882701b5b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 2 17:56:35 2016 +0100 patch 7.4.1027 Problem: No support for binary numbers. Solution: Add "bin" to nrformats. (Jason Schulz)
author Christian Brabandt <cb@256bit.org>
date Sat, 02 Jan 2016 18:00:05 +0100
parents 1886f2863437
children 4c922651fd78
comparison
equal deleted inserted replaced
7446:a67ee44e5848 7447:ad432f8f68fb
390 # define PATH_ESC_CHARS ((char_u *)" \t\n*?[{`$\\%#'\"|!<") 390 # define PATH_ESC_CHARS ((char_u *)" \t\n*?[{`$\\%#'\"|!<")
391 # define SHELL_ESC_CHARS ((char_u *)" \t\n*?[{`$\\%#'\"|!<>();&") 391 # define SHELL_ESC_CHARS ((char_u *)" \t\n*?[{`$\\%#'\"|!<>();&")
392 # endif 392 # endif
393 #endif 393 #endif
394 394
395 #define NUMBUFLEN 30 /* length of a buffer to store a number in ASCII */ 395 /* length of a buffer to store a number in ASCII (64 bits binary + NUL) */
396 #define NUMBUFLEN 65
397
398 /* flags for vim_str2nr() */
399 #define STR2NR_BIN 1
400 #define STR2NR_OCT 2
401 #define STR2NR_HEX 4
402 #define STR2NR_ALL (STR2NR_BIN + STR2NR_OCT + STR2NR_HEX)
403 #define STR2NR_FORCE 8 /* only when ONE of the above is used */
396 404
397 /* 405 /*
398 * Shorthand for unsigned variables. Many systems, but not all, have u_char 406 * Shorthand for unsigned variables. Many systems, but not all, have u_char
399 * already defined, so we use char_u to avoid trouble. 407 * already defined, so we use char_u to avoid trouble.
400 */ 408 */