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:
Eric Anholt 2018-06-25 15:24:27 -07:00
parent 95a0f99825
commit 5a1cc3861c
1 changed files with 1 additions and 1 deletions

View File

@ -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;