From 8f736c7df72f85d9e5895d4a6f14417567a1feae Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Wed, 2 Dec 2020 11:32:19 +0000 Subject: [PATCH] Fix syntax in fprintf calls ("<" -> ","). --- driver/cflexor.lex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver/cflexor.lex b/driver/cflexor.lex index 05ceb5dcc..15ef9dc3a 100644 --- a/driver/cflexor.lex +++ b/driver/cflexor.lex @@ -71,7 +71,7 @@ int cmdfile_stack_ptr = 0; \n { cflloc.first_line += 1; BEGIN(comment_enter); } <> { - fprintf(stderr, "%s:%d: ERROR: Comment not terminated.\n"< + fprintf(stderr, "%s:%d: ERROR: Comment not terminated.\n", current_file, cflloc.first_line); command_file_errors += 1; BEGIN(0); @@ -84,7 +84,7 @@ int cmdfile_stack_ptr = 0; "*/" { BEGIN(comment_enter); } <> { - fprintf(stderr, "%s:%d: ERROR: Comment not terminated.\n"< + fprintf(stderr, "%s:%d: ERROR: Comment not terminated.\n", current_file, cflloc.first_line); command_file_errors += 1; BEGIN(0);