From: Eric Anholt Date: Mon, 25 Jun 2018 22:24:27 +0000 (-0700) Subject: v3d: Use /* */ instead of () for enum names in CLIF output. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a1cc3861c33ecc6cda41e963984d5a4340e954d;p=mesa.git v3d: Use /* */ instead of () for enum names in CLIF output. This lets the comments be ignored by the CLIF parser. --- 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;