Use the appropriate error function for displaying the error,
instead of printing it to stdout. MFC after: 1 week
This commit is contained in:
parent
00a607320a
commit
1af684ac85
@ -370,7 +370,7 @@ lexi(void)
|
||||
do { /* copy the string */
|
||||
while (1) { /* move one character or [/<char>]<char> */
|
||||
if (*buf_ptr == '\n') {
|
||||
printf("%d: Unterminated literal\n", line_no);
|
||||
diag2(1, "Unterminated literal");
|
||||
goto stop_lit;
|
||||
}
|
||||
CHECK_SIZE_TOKEN; /* Only have to do this once in this loop,
|
||||
|
Loading…
Reference in New Issue
Block a user