This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: parse error at end of input


Iam sorry i didnt mention a few things, iam using the gcc compiler, yes
iam using SystemC library. Iam suspicious about the return statement can
you suggest how I can modify the return statement.

-Satish

On Wed, 21 Apr 2004, Joe Buck wrote:

> On Wed, Apr 21, 2004 at 01:35:54PM -0500, Satish Banukumar wrote:
> > I am getting an error statement "parse error at end if input" when i gmake
> > the attached file. I says a error at line 62 which is after the end of the
> > file.
>
> You haven't provided a full testcase.  You haven't said what version of
> the compiler you're using.  At least I can tell you're using the SystemC
> library.
>
> > #include "stage1.cpp"
> > #include "stage2.cpp"
> > #include "check.cpp"
>
> You haven't said what's in those files.  You can use gcc -E to produce
> preprocessor output.  You probably have some form of unbalanced
> parentheses or quoting, though the compiler should give you a more usable
> error message.
>
> There's a bug in your source, clearly, but I would argue that such a poor
> diagnostic is a bug in the compiler.
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]