Skip to content

Commit

Permalink
Fix for ISO C90 mixed declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
engboris committed Dec 20, 2024
1 parent 09ad27d commit 6e1f6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cobc/codegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -1801,6 +1801,7 @@ static void
output_gnucobol_defines (const char *formatted_date)
{
int i;
struct cb_text_list *l;

if (!strrchr (cb_source_file, '\\')
&& !strrchr (cb_source_file, '"')) {
Expand Down Expand Up @@ -1832,7 +1833,6 @@ output_gnucobol_defines (const char *formatted_date)
current_compile_tm.tm_sec;
output_line ("#define COB_MODULE_TIME\t\t%d", i);

struct cb_text_list *l;
for (l = cb_include_file_list; l; l = l->next) {
if (l->text[0] == '<') {
output_line ("#include %s", l->text);
Expand Down

0 comments on commit 6e1f6a4

Please sign in to comment.