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
|
@ -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…
Reference in New Issue