diff --git a/doc/make_html2.pl b/doc/make_html2.pl index b270a25e7c221d25a21f55a490e8435a0cb6ad6a..040cfdb9c4e8f148cd08817f55a42922cb1e6949 100755 --- a/doc/make_html2.pl +++ b/doc/make_html2.pl @@ -2,6 +2,9 @@ use strict; use rob_misc; use warnings; +print "DEPRECATED : use make_html.pl\n"; +exit; + # make binary_c's HTML manual @@ -42,7 +45,7 @@ while(1) # same for libbinary_c $html =~s !<math xmlns=\"http\:\/\/www.w3.org\/1998\/Math\/MathML\">\s*<mrow>\s*(?:<mstyle mathvariant=\'normal\'>)?\s*<mstyle mathvariant=\'italic\'>\s*<mrow>(<mi>l<\/mi><mi>i<\/mi><mi>b<\/mi>)?<mi>([Bb])<\/mi><mi>i<\/mi><mi>n<\/mi><mi>a<\/mi><mi>r<\/mi><mi>y<\/mi>_<mi>c<\/mi>\s*<\/mrow>\s*(?:<\/mstyle>\s*)?<\/mstyle>\s*<\/mrow><\/math>!$1$2inary_c!gs; use warnings; - + # this does not work! $html =~s !<math xmlns=\"http\:\/\/www.w3.org\/1998\/Math\/MathML\">\s*<mrow>\s*<mstyle mathvariant='normal'>\s*<mstyle mathvariant='italic'>\s*<mrow><mi>b<\/mi><mi>i<\/mi><mi>n<\/mi><mi>a<\/mi><mi>r<\/mi><mi>y<\/mi>_<mi>g<\/mi><mi>r<\/mi><mi>i<\/mi><mi>d<\/mi>\s*<\/mrow>\s*<\/mstyle>\s*<\/mstyle>\s*<\/mrow><\/math>!binary_grid!gs; @@ -94,10 +97,10 @@ while(1) # DONE print "\n\nDone! (refresh the page now)\n\n\n"; - + if($watch) { - # check for when size changes + # check for when size changes my $size = -s $lyxfile; my $modtime = -M $lyxfile; while($size == -s $lyxfile && diff --git a/src/binary_c_structures.h b/src/binary_c_structures.h index 9cb603b1c2728f6d7b31975b02d64593665979b6..1739c0aed0465773e0e292d141a7056729bd21cf 100644 --- a/src/binary_c_structures.h +++ b/src/binary_c_structures.h @@ -328,7 +328,7 @@ struct store_t { *tableb1,*tableb2,*tableb3, *tableg1,*tableg2,*tableg3; struct data_table_t * comenv_maxR_table; -#endif//COMENV_WANG_2016 +#endif//COMENV_WANG2016 #ifdef COMENV_POLYTROPES struct data_table_t * comenv_polytrope_2d; struct data_table_t * comenv_polytrope_3d; diff --git a/src/memory/clean_tmpstore.c b/src/memory/clean_tmpstore.c index 78526f3f5591763bdea159925fa0ae66e10b53e0..1c8e3efd28eb2bd7975fde2540d6828b28e4a99b 100644 --- a/src/memory/clean_tmpstore.c +++ b/src/memory/clean_tmpstore.c @@ -40,8 +40,8 @@ void clean_tmpstore(struct tmpstore_t * RESTRICT const tmpstore) } #endif//NUCSYN -#ifdef COMENV_WANG_2016 - //Delete_data_table(tmpstore->comenv_lambda_table); +#ifdef COMENV_WANG2016 + Delete_data_table(tmpstore->comenv_lambda_table); #endif #ifdef WTTS_LOG { diff --git a/src/memory/free_store_contents.c b/src/memory/free_store_contents.c index 4194c4561959c859dfa099629c51b8550ca142ec..4e267c9acf300a7c1312a9e8a1314e4076999429 100644 --- a/src/memory/free_store_contents.c +++ b/src/memory/free_store_contents.c @@ -53,7 +53,7 @@ void free_store_contents(struct store_t * RESTRICT const store) Delete_data_table(store->carrasco2014_cooling_table5); binary_magnitudes_free_memory(store); #endif // STELLAR_COLOURS -#ifdef COMENV_WANG_2016 +#ifdef COMENV_WANG2016 Store_free(tableh1); Store_free(tableh2); Store_free(tableh3); diff --git a/src/memory/free_tmpstore.c b/src/memory/free_tmpstore.c index 7322c337fcf46e610ab482e519c02fe8c6a4415b..aaa2a0548a34ef68837d4bdeebb8b5385cd95c79 100644 --- a/src/memory/free_tmpstore.c +++ b/src/memory/free_tmpstore.c @@ -79,7 +79,7 @@ void free_tmpstore(struct tmpstore_t * RESTRICT const tmpstore, } #endif//NUCSYN -#ifdef COMENV_WANG_2016 +#ifdef COMENV_WANG2016 //Tmp_free(comenv_lambda_data); Delete_data_table(tmpstore->comenv_lambda_table); #endif