Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!russell!gandalf From: gandalf@russell.STANFORD.EDU (Juergen Wagner) Newsgroups: comp.lang.c Subject: Re: pcc misfeature Message-ID: <780@russell.STANFORD.EDU> Date: Mon, 23-Nov-87 18:16:03 EST Article-I.D.: russell.780 Posted: Mon Nov 23 18:16:03 1987 Date-Received: Sat, 28-Nov-87 00:28:18 EST References: <3125@psuvax1.psu.edu> Reply-To: gandalf@russell.stanford.edu (Juergen Wagner) Organization: Center for the Study of Language and Information, Stanford U. Lines: 16 >.... > "snoob.c", line 4: syntax error > "snoob.c", line 5: illegal character: 134 (octal) > "snoob.c", line 5: cannot recover from earlier errors: goodbye! > >The first error is correct. The others... you decide. :-) >.... >-- Scott Schwartz schwartz@gondor.psu.edu Of course, the subsequent errors are rubbish (from the point of view of a human reader). Since error recovery still is a major problem for parsers, they use certain strategies. In this case, lint wasn't very successful... Anytime I get errors from cc or lint or whatever, I usually don't care too much about subsequent errors in the lines following a syntx eror. --Juergen Wagner (gandalf@Russell.stanford.edu)