projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/SDCCutil.c: fixed a bug in (get_pragma_token)
[fw/sdcc]
/
src
/
SDCCutil.c
diff --git
a/src/SDCCutil.c
b/src/SDCCutil.c
index d4898f530e8025868af07e5cdb579b9f91412b76..34db23dab44fcadfeddf2bf9d944c1555484fd62 100644
(file)
--- a/
src/SDCCutil.c
+++ b/
src/SDCCutil.c
@@
-355,7
+355,7
@@
get_pragma_token(const char *s, struct pragma_token_s *token)
long val = strtol(s, &end, 0);
- if (end != s && ('\0' == *end || isspace(*
s
)))
+ if (end != s && ('\0' == *end || isspace(*
end
)))
{
token->val.int_val = val;
token->type = TOKEN_INT;