diff --git a/hhe/gen-ptr-table b/hhe/gen-ptr-table index 22474f6..e62132b 100755 --- a/hhe/gen-ptr-table +++ b/hhe/gen-ptr-table @@ -42,7 +42,8 @@ def format_func_offsets(offsets) "{ " + formatted.join(", ") + " }" end -puts "static hhe_action_pointer_t action_pointers[] = {" +puts "static hhe_action_pointer_t action_pointers[] =" +puts "{" for name in action_func_names.sort offsets = func_offsets(name) diff --git a/hhe/gen-string-tables b/hhe/gen-string-tables index 1132034..b0d69f1 100755 --- a/hhe/gen-string-tables +++ b/hhe/gen-string-tables @@ -68,7 +68,8 @@ def print_unsupported_strings(name, strings) entry[0] end - puts "static int #{name}[] = {" + puts "static int #{name}[] =" + puts "{" numbers = 0 @@ -101,7 +102,8 @@ good_strings = load_good_strings("good-strings.txt") # Output list of supported strings with their offset for each version -puts "static hhe_string_t strings[] = {" +puts "static hhe_string_t strings[] =" +puts "{" for string in good_strings