diff options
author | Jakob Bornecrantz <[email protected]> | 2011-03-13 15:32:44 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2011-03-13 15:35:35 +0100 |
commit | 629bc76b75c6e35ecbbb7a6716b5f25f13ef34e6 (patch) | |
tree | 8128318975a71242766cc102eccd5c16d8352786 | |
parent | f4e6061d88db87b4fc988e02055674c530caacb8 (diff) |
tgsi: Fix parsing of properties with digits in the name
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c index 1eac762e6e5..57622a0dea6 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_text.c +++ b/src/gallium/auxiliary/tgsi/tgsi_text.c @@ -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; |