Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2006 23:20:47 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Randall Hyde <randyhyde@earthlink.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: FLEX, was Re: Return value of malloc(0)
Message-ID:  <20060629062047.GA34074@troutmask.apl.washington.edu>
In-Reply-To: <004201c69b3e$915bada0$6302a8c0@pentiv>
References:  <20060628181045.GA54915@curry.mchp.siemens.de> <44wtb12fu0.fsf@be-well.ilk.org> <004301c69b1d$164b5370$6302a8c0@pentiv> <20060629021028.GA31866@troutmask.apl.washington.edu> <004201c69b3e$915bada0$6302a8c0@pentiv>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 28, 2006 at 10:40:45PM -0700, Randall Hyde wrote:
> > >
> >
> > Without seeing the code or the actual error message, I'm
> > guessing the answer is 42.  Perhaps, some detail might
> > be appropriate.
> 
> I seriously doubt seeing the code  will do much good.
> Here's the offending line:
> 
>   YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
>    yy_n_chars, num_to_read );

Hopefully, people who use your product give better bug
reports.   I don't know whether I should laugh or cry.

> gcc -DfreeBSD -c -o lex.yy.o lex.yy.c
> 
> and it stops with "syntax error before numeric constant".

Does your code include all the required header files?
This looks like a namespace pollution problem.

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060629062047.GA34074>