diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2011-04-13 14:11:15 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2011-06-25 12:10:40 +0400 |
commit | a39912dcd9ad21cba4bf1748200126dce3c011bf (patch) | |
tree | cc5691d9aec74b2a8aa46678eea4c0cd5e6c6c41 /nasmlib.c | |
parent | fb27fc21e72bd58fec0f117732f4729e19774403 (diff) | |
download | nasm-a39912dcd9ad21cba4bf1748200126dce3c011bf.tar.gz nasm-a39912dcd9ad21cba4bf1748200126dce3c011bf.tar.bz2 nasm-a39912dcd9ad21cba4bf1748200126dce3c011bf.zip |
Move numvalue herleper into nasmlib.h
No need to duplicate implementation.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'nasmlib.c')
-rw-r--r-- | nasmlib.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -291,8 +291,7 @@ char *nasm_strsep(char **stringp, const char *delim) #endif -#define lib_isnumchar(c) (nasm_isalnum(c) || (c) == '$' || (c) == '_') -#define numvalue(c) ((c)>='a' ? (c)-'a'+10 : (c)>='A' ? (c)-'A'+10 : (c)-'0') +#define lib_isnumchar(c) (nasm_isalnum(c) || (c) == '$' || (c) == '_') static int radix_letter(char c) { |