projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95a0f99
)
v3d: Use /* */ instead of () for enum names in CLIF output.
author
Eric Anholt
<eric@anholt.net>
Mon, 25 Jun 2018 22:24:27 +0000
(15:24 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 27 Jul 2018 19:56:36 +0000
(12:56 -0700)
This lets the comments be ignored by the CLIF parser.
src/broadcom/cle/v3d_decoder.c
patch
|
blob
|
history
diff --git
a/src/broadcom/cle/v3d_decoder.c
b/src/broadcom/cle/v3d_decoder.c
index e1ce2f65e892f882ed4a31018e04dc89b56e095e..a540b1cf559b67b6244bb8fbb24fb084b497824e 100644
(file)
--- 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;