delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/11/12:26:39

From: Flavio Poletti <poletti AT writeme DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: help!
Date: Mon, 11 Jan 1999 18:17:15 +0100
Organization: I.NET S.p.A
Lines: 28
Message-ID: <369A321B.EDADFE3A@writeme.com>
References: <3693E45B DOT 3BEB56C6 AT hotmail DOT com>
NNTP-Posting-Host: stsisdn.inet.it
Mime-Version: 1.0
X-Mailer: Mozilla 4.06 [en] (WinNT; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

beer god wrote:

> i am workin on a rather large game. i just recently broke 1000 lines...
> i know some of you will laugh that i think this is big... when i complie
> it i get:
> game.cpp:1014: parse error at end of input
> my source file is only 1013 lines long. so why am i gettin this message?

I think that empty lines count too, so if your last 1013 line ends with a
newline, you do have a 1014 line.
Moreover, I think that you've forgotten to close some parenthesis: GCC looks
for them but what it finds is simply an EOF.

Cheers,
        Flavio.

--
Flavio Poletti
e-mail:   poletti AT writeme DOT com
web page: http://poletti.freeweb.org/

La libertà [americana] è lì, alla portata di tutti...
     ... come la chitarra ....
... ognuno suona come vuole ...
     ... e tutti suonano come vuole la libertà!
                                  (G. Gaber)


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019