diff options
author | Mike Pall <mike> | 2010-11-09 12:09:54 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-11-09 12:09:54 +0100 |
commit | ad29c1f39feb55d4d443b9352448a12a1be8ee23 (patch) | |
tree | 685adbbcad3f65cacf636dda30bf1785191d9c6e /src/lib_base.c | |
parent | fe21a42a92546416cc235511c4e1949d850c0139 (diff) | |
download | luajit-ad29c1f39feb55d4d443b9352448a12a1be8ee23.tar.gz luajit-ad29c1f39feb55d4d443b9352448a12a1be8ee23.tar.bz2 luajit-ad29c1f39feb55d4d443b9352448a12a1be8ee23.zip |
Rename character type handling from lj_ctype* to lj_char*.
Diffstat (limited to 'src/lib_base.c')
-rw-r--r-- | src/lib_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib_base.c b/src/lib_base.c index 0a13f36b..6a842d2c 100644 --- a/src/lib_base.c +++ b/src/lib_base.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include "lj_bc.h" | 25 | #include "lj_bc.h" |
26 | #include "lj_ff.h" | 26 | #include "lj_ff.h" |
27 | #include "lj_dispatch.h" | 27 | #include "lj_dispatch.h" |
28 | #include "lj_ctype.h" | 28 | #include "lj_char.h" |
29 | #include "lj_lib.h" | 29 | #include "lj_lib.h" |
30 | 30 | ||
31 | /* -- Base library: checks ------------------------------------------------ */ | 31 | /* -- Base library: checks ------------------------------------------------ */ |
@@ -197,7 +197,7 @@ LJLIB_ASM(tonumber) LJLIB_REC(.) | |||
197 | lj_err_arg(L, 2, LJ_ERR_BASERNG); | 197 | lj_err_arg(L, 2, LJ_ERR_BASERNG); |
198 | ul = strtoul(p, &ep, base); | 198 | ul = strtoul(p, &ep, base); |
199 | if (p != ep) { | 199 | if (p != ep) { |
200 | while (lj_ctype_isspace((unsigned char)(*ep))) ep++; | 200 | while (lj_char_isspace((unsigned char)(*ep))) ep++; |
201 | if (*ep == '\0') { | 201 | if (*ep == '\0') { |
202 | setnumV(L->base-1, cast_num(ul)); | 202 | setnumV(L->base-1, cast_num(ul)); |
203 | return FFH_RES(1); | 203 | return FFH_RES(1); |