projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffebf78
)
isl_stream: allow "_" in tokens
author
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 9 Mar 2010 11:31:19 +0000
(12:31 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 9 Mar 2010 11:38:12 +0000
(12:38 +0100)
isl_stream.c
patch
|
blob
|
history
diff --git
a/isl_stream.c
b/isl_stream.c
index
2023956
..
cf45942
100644
(file)
--- a/
isl_stream.c
+++ b/
isl_stream.c
@@
-326,7
+326,8
@@
static struct isl_token *next_token(struct isl_stream *s, int same_line)
if (!tok)
return NULL;
isl_stream_push_char(s, c);
- while ((c = isl_stream_getc(s)) != -1 && isalnum(c))
+ while ((c = isl_stream_getc(s)) != -1 &&
+ (isalnum(c) || c == '_'))
isl_stream_push_char(s, c);
if (c != -1)
isl_stream_ungetc(s, c);