From 5a1cc3861c33ecc6cda41e963984d5a4340e954d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jun 2018 15:24:27 -0700 Subject: [PATCH] v3d: Use /* */ instead of () for enum names in CLIF output. This lets the comments be ignored by the CLIF parser. --- src/broadcom/cle/v3d_decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2