summaryrefslogtreecommitdiffstats
path: root/src/broadcom/cle
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-06-25 15:24:27 -0700
committerEric Anholt <[email protected]>2018-07-27 12:56:36 -0700
commit5a1cc3861c33ecc6cda41e963984d5a4340e954d (patch)
treec898074009704911978ef117661debd7025e92e7 /src/broadcom/cle
parent95a0f9982540431494bfc4c2512a0b830ba923af (diff)
v3d: Use /* */ instead of () for enum names in CLIF output.
This lets the comments be ignored by the CLIF parser.
Diffstat (limited to 'src/broadcom/cle')
-rw-r--r--src/broadcom/cle/v3d_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/broadcom/cle/v3d_decoder.c b/src/broadcom/cle/v3d_decoder.c
index e1ce2f65e89..a540b1cf559 100644
--- a/src/broadcom/cle/v3d_decoder.c
+++ b/src/broadcom/cle/v3d_decoder.c
@@ -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;