tgsi: Fix parsing of properties with digits in the name

This commit is contained in:
Jakob Bornecrantz
2011-03-13 15:32:44 +01:00
parent f4e6061d88
commit 629bc76b75
+1 -1
View File
@@ -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;