projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* as/hc08/lkaomf51.c (OutputName): made name unsigned char,
[fw/sdcc]
/
src
/
SDCC.lex
diff --git
a/src/SDCC.lex
b/src/SDCC.lex
index a0b0297c4e7b5e5b8a9feb64a2b2e2b7b4018a1b..4f9b51887143ffac7c794b995ac355ef74005628 100644
(file)
--- a/
src/SDCC.lex
+++ b/
src/SDCC.lex
@@
-284,7
+284,7
@@
static int checkCurrFile (char *s)
/* get the line number */
lNum = strtol(s, &tptr, 10);
/* get the line number */
lNum = strtol(s, &tptr, 10);
- if (tptr == s || !isspace(*tptr))
+ if (tptr == s || !isspace(
(unsigned char)
*tptr))
return 0;
s = tptr;
return 0;
s = tptr;
@@
-783,16
+783,16
@@
static int process_pragma(char *s)
s += PRAGMA_LEN;
/* look for the directive */
s += PRAGMA_LEN;
/* look for the directive */
- while(isspace(*s))
+ while(isspace(
(unsigned char)
*s))
s++;
cp = s;
/* look for the end of the directive */
s++;
cp = s;
/* look for the end of the directive */
- while ((!isspace(*s)) && (*s != '\n'))
+ while ((!isspace(
(unsigned char)
*s)) && (*s != '\n'))
s++ ;
/* skip separating whitespace */
s++ ;
/* skip separating whitespace */
- while (isspace(*s) && (*s != '\n'))
+ while (isspace(
(unsigned char)
*s) && (*s != '\n'))
s++;
/* First give the port a chance */
s++;
/* First give the port a chance */