add isl_pw_qpolynomial_get_dim
[platform/upstream/isl.git] / isl_stream.c
index 2023956..cf45942 100644 (file)
@@ -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);