From ffc3fd7cc78774f1f3922262879a25cdb88058e6 Mon Sep 17 00:00:00 2001 From: Lenard Szolnoki Date: Sat, 4 Mar 2023 23:17:27 +0000 Subject: [PATCH] Fix amalgamate.py script This unfortunately puts fast_float.h as the second header, possiby making the amalgamated header less readable. --- script/amalgamate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/amalgamate.py b/script/amalgamate.py index a5377d7..7d4e4aa 100644 --- a/script/amalgamate.py +++ b/script/amalgamate.py @@ -31,7 +31,7 @@ for filename in ['LICENSE-MIT', 'LICENSE-APACHE']: processed_files[filename] = text # code -for filename in [ 'fast_float.h', 'float_common.h', 'ascii_number.h', +for filename in [ 'float_common.h', 'fast_float.h', 'ascii_number.h', 'fast_table.h', 'decimal_to_binary.h', 'bigint.h', 'ascii_number.h', 'digit_comparison.h', 'parse_number.h']: with open('include/fast_float/' + filename, encoding='utf8') as f: @@ -75,7 +75,7 @@ def license_content(license_arg): text = ''.join([ processed_files['AUTHORS'], processed_files['CONTRIBUTORS'], *license_content(args.license), - processed_files['fast_float.h'], processed_files['float_common.h'], + processed_files['float_common.h'], processed_files['fast_float.h'], processed_files['ascii_number.h'], processed_files['fast_table.h'], processed_files['decimal_to_binary.h'], processed_files['bigint.h'], processed_files['ascii_number.h'], processed_files['digit_comparison.h'],