projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f01f594
)
qapi: don't convert enum strings to lowercase
author
Luiz Capitulino
<lcapitulino@redhat.com>
Fri, 27 Jul 2012 12:38:05 +0000
(09:38 -0300)
committer
Luiz Capitulino
<lcapitulino@redhat.com>
Mon, 13 Aug 2012 16:21:06 +0000
(13:21 -0300)
Next commit will introduce enum strings in camel case.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi-types.py
patch
|
blob
|
history
diff --git
a/scripts/qapi-types.py
b/scripts/qapi-types.py
index 9b7da96ef212f251c912797e6bf4037bb22e5e2d..cf601ae2d23c5d2cab39ecaf88f03fd569ced40e 100644
(file)
--- a/
scripts/qapi-types.py
+++ b/
scripts/qapi-types.py
@@
-70,7
+70,7
@@
const char *%(name)s_lookup[] = {
ret += mcgen('''
"%(value)s",
''',
- value=value
.lower()
)
+ value=value)
ret += mcgen('''
NULL,