From 412c272389116f18218148c7a84c0486ad814051 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 24 Jul 2014 15:39:31 -0400 Subject: Fix option ordering in usage output. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 47fd51c9..422f1406 100644 --- a/main.c +++ b/main.c @@ -820,9 +820,9 @@ usage(int exitval, FILE *fp) fputs(_("\t-i includefile\t\t--include=includefile\n"), fp); fputs(_("\t-l library\t\t--load=library\n"), fp); fputs(_("\t-L [fatal]\t\t--lint[=fatal]\n"), fp); - fputs(_("\t-n\t\t\t--non-decimal-data\n"), fp); fputs(_("\t-M\t\t\t--bignum\n"), fp); fputs(_("\t-N\t\t\t--use-lc-numeric\n"), fp); + fputs(_("\t-n\t\t\t--non-decimal-data\n"), fp); fputs(_("\t-o[file]\t\t--pretty-print[=file]\n"), fp); fputs(_("\t-O\t\t\t--optimize\n"), fp); fputs(_("\t-p[file]\t\t--profile[=file]\n"), fp); -- cgit v1.2.3 From c93614354db29e990db243a36c8030ad1c9ca1b7 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 25 Jul 2014 11:52:35 -0400 Subject: Add a warning if -M used and MPFR not available. --- main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 422f1406..2691e224 100644 --- a/main.c +++ b/main.c @@ -472,6 +472,8 @@ main(int argc, char **argv) case 'M': #ifdef HAVE_MPFR do_flags |= DO_MPFR; +#else + warning(_("-M ignored: MPFR/GMP support not compiled in")); #endif break; -- cgit v1.2.3 From 825dd9a1839ca42c4ed6152de41515958e11660d Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 31 Jul 2014 19:42:41 +0300 Subject: Clean up some memory in MPFR. --- main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 2691e224..f76608c9 100644 --- a/main.c +++ b/main.c @@ -755,6 +755,11 @@ out: if (do_dump_vars) dump_vars(varfile); +#ifdef HAVE_MPFR + if (do_mpfr) + cleanup_mpfr(); +#endif + if (do_tidy_mem) release_all_vars(); -- cgit v1.2.3