Fix syntax in fprintf calls ("<" -> ",").
This commit is contained in:
parent
b1484a97e2
commit
8f736c7df7
|
|
@ -71,7 +71,7 @@ int cmdfile_stack_ptr = 0;
|
||||||
<LCOMMENT>\n { cflloc.first_line += 1; BEGIN(comment_enter); }
|
<LCOMMENT>\n { cflloc.first_line += 1; BEGIN(comment_enter); }
|
||||||
|
|
||||||
<LCOMMENT><<EOF>> {
|
<LCOMMENT><<EOF>> {
|
||||||
fprintf(stderr, "%s:%d: ERROR: Comment not terminated.\n"<
|
fprintf(stderr, "%s:%d: ERROR: Comment not terminated.\n",
|
||||||
current_file, cflloc.first_line);
|
current_file, cflloc.first_line);
|
||||||
command_file_errors += 1;
|
command_file_errors += 1;
|
||||||
BEGIN(0);
|
BEGIN(0);
|
||||||
|
|
@ -84,7 +84,7 @@ int cmdfile_stack_ptr = 0;
|
||||||
<CCOMMENT>"*/" { BEGIN(comment_enter); }
|
<CCOMMENT>"*/" { BEGIN(comment_enter); }
|
||||||
|
|
||||||
<CCOMMENT><<EOF>> {
|
<CCOMMENT><<EOF>> {
|
||||||
fprintf(stderr, "%s:%d: ERROR: Comment not terminated.\n"<
|
fprintf(stderr, "%s:%d: ERROR: Comment not terminated.\n",
|
||||||
current_file, cflloc.first_line);
|
current_file, cflloc.first_line);
|
||||||
command_file_errors += 1;
|
command_file_errors += 1;
|
||||||
BEGIN(0);
|
BEGIN(0);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue