Skip to content

Commit 85ba81a

Browse files
committed
basic: disallow '=' in identifiers
1 parent b77e76f commit 85ba81a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parsers/basic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ static char const *extract_name (char const *pos, vString * name)
8989
while (isspace (*pos))
9090
pos++;
9191
vStringClear (name);
92-
for (; *pos && !isspace (*pos) && *pos != '(' && *pos != ','; pos++)
92+
for (; *pos && !isspace (*pos) && *pos != '(' && *pos != ',' && *pos != '='; pos++)
9393
vStringPut (name, *pos);
9494
return pos;
9595
}

0 commit comments

Comments
 (0)