tgsi: Fix parsing of properties with digits in the name
This commit is contained in:
parent
f4e6061d88
commit
629bc76b75
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ static boolean parse_identifier( const char **pcur, char *ret )
|
|||
int i = 0;
|
||||
if (is_alpha_underscore( cur )) {
|
||||
ret[i++] = *cur++;
|
||||
while (is_alpha_underscore( cur ))
|
||||
while (is_alpha_underscore( cur ) || is_digit( cur ))
|
||||
ret[i++] = *cur++;
|
||||
ret[i++] = '\0';
|
||||
*pcur = cur;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue