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);