Re: FLEX, was Re: Return value of malloc(0)
- From: Steve Kargl <sgk@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Jun 2006 23:20:47 -0700
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
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- Return value of malloc(0)
- From: Andre Albsmeier
- Re: Return value of malloc(0)
- From: Lowell Gilbert
- Re: Return value of malloc(0)
- From: Randall Hyde
- Re: Return value of malloc(0)
- From: Steve Kargl
- FLEX, was Re: Return value of malloc(0)
- From: Randall Hyde
- Return value of malloc(0)
- Prev by Date: Re: Return value of malloc(0)
- Next by Date: Re: FLEX, was Re: Return value of malloc(0)
- Previous by thread: FLEX, was Re: Return value of malloc(0)
- Next by thread: Re: FLEX, was Re: Return value of malloc(0)
- Index(es):
Relevant Pages
|
|