Re: FLEX, was Re: Return value of malloc(0)



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"



Relevant Pages

  • Re: format nested repeater
    ... I'm sorry but I'm just guessing as I don't have the code to reproduce the ... > names in the child repeater, the code is below (I put the error mesage ... > Here is the error message: ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: 0x00000024 Blue Screen Help Please
    ... everything I tried resulted in the BSOD. ... > screen of death) and guessing when you say "it goes down again" you mean it ... I have tried to Repair from the Windows ... This error message keeps coming up. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: 941 KB word file
    ... error message, then I'm guessing you're out of luck, at least as far as using Word or WordPad to try to open the file. ... Herb Tyson MS MVP ...
    (microsoft.public.word.docmanagement)
  • Re: error fail
    ... whta you posted. ... I'm guessing the problem is when you try to open the ... try catch it and see what the exception ... > it shows me an error message: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: dbf file not a table
    ... I'm guessing it has something to do with a backlink, ... guessing because you haven't told us what error message you're getting. ... sherry wrote: ... Have tried setting validation to 0 and open, no luck. ...
    (microsoft.public.fox.programmer.exchange)