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