Path: utzoo!telly!attcan!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!CSVAX.CALTECH.EDU!andy From: andy@CSVAX.CALTECH.EDU (Andy Fyfe) Newsgroups: gnu.gcc.bug Subject: line number on error message in gcc 1.33 Message-ID: <8902141919.AA15704@csvax.caltech.edu> Date: 14 Feb 89 19:19:32 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 15 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