mirror of https://github.com/xqemu/xqemu.git
qapi: don't convert enum strings to lowercase
Next commit will introduce enum strings in camel case. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
f01f594b63
commit
ac4ff701d8
|
@ -70,7 +70,7 @@ const char *%(name)s_lookup[] = {
|
||||||
ret += mcgen('''
|
ret += mcgen('''
|
||||||
"%(value)s",
|
"%(value)s",
|
||||||
''',
|
''',
|
||||||
value=value.lower())
|
value=value)
|
||||||
|
|
||||||
ret += mcgen('''
|
ret += mcgen('''
|
||||||
NULL,
|
NULL,
|
||||||
|
|
Loading…
Reference in New Issue