projects
/
platform
/
upstream
/
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
e1ce2f6
..
a540b1c
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;