andy@CSVAX.CALTECH.EDU (Andy Fyfe) (02/15/89)
Gcc reports the error about the missing quote on the last line where
a string appears, and not where the unterminated string appears.
% cat test.c
foo()
{
printf("one); /* no closing quote */
printf("two");
printf("three");
printf("four");
printf("five"); /* error reported on this line */
}
% gcc -c test.c
test.c:7: unterminated string or character constant
7872 Exit 1 gcc -c test.c