mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 7.4.1027
Problem: No support for binary numbers. Solution: Add "bin" to nrformats. (Jason Schulz)
This commit is contained in:
10
src/vim.h
10
src/vim.h
@@ -392,7 +392,15 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define NUMBUFLEN 30 /* length of a buffer to store a number in ASCII */
|
||||
/* length of a buffer to store a number in ASCII (64 bits binary + NUL) */
|
||||
#define NUMBUFLEN 65
|
||||
|
||||
/* flags for vim_str2nr() */
|
||||
#define STR2NR_BIN 1
|
||||
#define STR2NR_OCT 2
|
||||
#define STR2NR_HEX 4
|
||||
#define STR2NR_ALL (STR2NR_BIN + STR2NR_OCT + STR2NR_HEX)
|
||||
#define STR2NR_FORCE 8 /* only when ONE of the above is used */
|
||||
|
||||
/*
|
||||
* Shorthand for unsigned variables. Many systems, but not all, have u_char
|
||||
|
Reference in New Issue
Block a user