diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-29 17:47:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-29 17:47:10 +0000 |
commit | fe83ab527d731428cb1a92b2bb33bbf242bfdbdb (patch) | |
tree | 4f716152188dfaf1d63491d4b04c446176e4a305 /tools | |
parent | 111bd01c11752479de119f8bf961ba2b1960b7ca (diff) | |
download | external_llvm-fe83ab527d731428cb1a92b2bb33bbf242bfdbdb.zip external_llvm-fe83ab527d731428cb1a92b2bb33bbf242bfdbdb.tar.gz external_llvm-fe83ab527d731428cb1a92b2bb33bbf242bfdbdb.tar.bz2 |
I screwed up the macros, so of course strtol didn't work. *sigh*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1035 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lli/RuntimeLib.lc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lli/RuntimeLib.lc b/tools/lli/RuntimeLib.lc index f2611a8..b8d3f04 100644 --- a/tools/lli/RuntimeLib.lc +++ b/tools/lli/RuntimeLib.lc @@ -18,9 +18,9 @@ void *malloc(unsigned); void free(void *); #define isspace(x) ((x) == ' ' || (x) == '\t' || (x) == '\n') -#define isdigit(x) ((x) >= '0' || (x) <= '9') -#define isupper(x) ((x) >= 'A' || (x) <= 'Z') -#define islower(x) ((x) >= 'a' || (x) <= 'z') +#define isdigit(x) ((x) >= '0' && (x) <= '9') +#define isupper(x) ((x) >= 'A' && (x) <= 'Z') +#define islower(x) ((x) >= 'a' && (x) <= 'z') #define isalpha(x) (isupper(x) || islower(x)) // The puts() function writes the string pointed to by s, followed by a |