@@ -117,7 +117,7 @@ def main():
117117 # blank lines between consecutive TOML_XXXXX_WARNINGS statements
118118 toml_h = re .sub ('(TOML_[A-Z_]+?_WARNINGS;)\n [ \t \n ]*\n (TOML_[A-Z_]+?_WARNINGS;)' , r'\1\n\2' , toml_h )
119119 # blank lines between consecutive #includes
120- toml_h = re .sub ('[#]\s*include\s*<(.+?)>\n [ \t \n ]*\n [#]\s*include\s*<(.+?)>' , r'#include <\1>\n#include <\2>' , toml_h )
120+ toml_h = re .sub (r '[#]\s*include\s*<(.+?)>\n[ \t\n]*\n[#]\s*include\s*<(.+?)>' , r'#include <\1>\n#include <\2>' , toml_h )
121121 # blank lines following opening brackets or a comma
122122 toml_h = re .sub (r'([^@][({,])\n\n' , r'\1\n' , toml_h )
123123 # blank lines preceeding closing brackets
@@ -129,7 +129,7 @@ def main():
129129
130130 # change TOML_LIB_SINGLE_HEADER to 1
131131 toml_h = re .sub (
132- '#\s*define\s+TOML_LIB_SINGLE_HEADER\s+[0-9]+' ,
132+ r '#\s*define\s+TOML_LIB_SINGLE_HEADER\s+[0-9]+' ,
133133 '#define TOML_LIB_SINGLE_HEADER 1' ,
134134 toml_h , 0 , re .I
135135 )
@@ -242,7 +242,9 @@ def main():
242242 r'TOML_UNDEF_MACROS' ,
243243 r'TOMLPLUSPLUS_H' ,
244244 r'TOMLPLUSPLUS_HPP' ,
245- r'TOML_SHARED_LIB'
245+ r'TOML_SHARED_LIB' ,
246+ r'TOML_DISABLE_CONDITIONAL_NOEXCEPT_LAMBDA' ,
247+ r'TOML_DISABLE_NOEXCEPT_NOEXCEPT'
246248 )
247249 set_defines = []
248250 for define , currently_set in defines .items ():
0 commit comments