File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -774,14 +774,15 @@ def config_to_header(config, fname=None):
774
774
if macro .macro_value :
775
775
header_data += ("#define {0:<{1}} {2!s:<{3}}" +
776
776
" // defined by {4}\n " )\
777
- .format (m .macro_name , max_macro_name_len , m .macro_value ,
778
- max_macro_val_len , m .defined_by )
777
+ .format (macro .macro_name , max_macro_name_len ,
778
+ macro .macro_value , max_macro_val_len ,
779
+ macro .defined_by )
779
780
else :
780
781
header_data += ("#define {0:<{1}}" +
781
782
" // defined by {2}\n " )\
782
- .format (m .macro_name ,
783
+ .format (macro .macro_name ,
783
784
max_macro_name_len + max_macro_val_len + 1 ,
784
- m .defined_by )
785
+ macro .defined_by )
785
786
header_data += "\n #endif\n "
786
787
# If fname is given, write "header_data" to it
787
788
if fname :
You can’t perform that action at this time.
0 commit comments