Browse Source

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>
Luiz Capitulino 13 years ago
parent
commit
ac4ff701d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/qapi-types.py

+ 1 - 1
scripts/qapi-types.py

@@ -70,7 +70,7 @@ def generate_enum_lookup(name, values):
         ret += mcgen('''
     "%(value)s",
 ''',
-                     value=value.lower())
+                     value=value)
 
     ret += mcgen('''
     NULL,