Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!pacbell.com!att!linac!midway!valley From: valley@uchicago (Doug Dougherty) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: djgcc: Parse error before character 032? Message-ID: Date: 22 Mar 91 11:53:44 GMT References: <12238@pasteur.Berkeley.EDU> Sender: news@midway.uchicago.edu (News Administrator) Organization: University of Chicago Lines: 16 splin@roma.berkeley.edu (Steven Lin) writes: >and got the error listed in the subject. >The error doesn't occur if I type in the program using > copy con hello.c >but it does occur if I use a word processor (vi and Wordstar) to create >hello.c. Evidently, the word processor is adding some extra characters >to the end of the file before writing to disk and gcc is choking on this. This is the ^Z problem, right? Funny, my version of vi doesn't put no steenkin' ^Z's at the end of my files. Either find an editor that doesn't put out ^Z's, or find a utility to fix ^Z'd files. I have one if you don't find one elsewhere.