From fc6edc45c09f4fa32e18f8df7258c7f7be6a24e9 Mon Sep 17 00:00:00 2001 From: Marc Autret Date: Sun, 20 Jan 2002 15:59:34 +0000 Subject: [PATCH] * src/files.c (compute_output_file_names): Fix --- ChangeLog | 4 ++++ src/files.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 246bd4fc..98569cf6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-01-20 Marc Autret + + * src/files.c (compute_output_file_names): Fix + 2002-01-20 Marc Autret * tests/output.at: New test. diff --git a/src/files.c b/src/files.c index a27a2772..4f17352a 100644 --- a/src/files.c +++ b/src/files.c @@ -417,15 +417,15 @@ compute_output_file_names (void) { compute_base_names (); - parser_file_name = - spec_outfile ? spec_outfile : stringappend (full_base_name, src_extension); - /* If not yet done. */ if (!src_extension) src_extension = ".c"; if (!header_extension) header_extension = ".h"; + parser_file_name = + spec_outfile ? spec_outfile : stringappend (full_base_name, src_extension); + /* It the defines filename if not given, we create it. */ if (!spec_defines_file) spec_defines_file = stringappend (full_base_name, header_extension); -- 2.45.2