mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
v3d: Use /* */ instead of () for enum names in CLIF output.
This lets the comments be ignored by the CLIF parser.
This commit is contained in:
parent
95a0f99825
commit
5a1cc3861c
1 changed files with 1 additions and 1 deletions
|
|
@ -917,7 +917,7 @@ v3d_field_iterator_next(struct v3d_field_iterator *iter)
|
|||
if (enum_name) {
|
||||
int length = strlen(iter->value);
|
||||
snprintf(iter->value + length, sizeof(iter->value) - length,
|
||||
" (%s)", enum_name);
|
||||
" /* %s */", enum_name);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue