diff options
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -404,8 +404,10 @@ variable **iparse(instance *it, const char *s) // variable or function if (isalpha(s[offset])) { size_t end = offset + 1; - while (isalnum(s[end])) - end++; + if (!isupper(s[offset])) { + while (isalnum(s[end])) + end++; + } char *name = strnclone(s + offset, end - offset); ops[ooffset++] = igetvar(it, name); free(name); |