help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: yyleng declared as type size_t


From: W. L. Estes
Subject: Re: Bug: yyleng declared as type size_t
Date: Tue, 18 Sep 2001 08:36:30 -0400

> Yep. OTOH, there *are* some existing definitions (POSIX, Single Unix
> Spec.) of what 'lex' (and thus, by compatibility, flex) should behave. One
> of them is that 'yyleng' is an int, not a size_t.  That definition may
> look silly by today's standards, but that's what we have.
> 
> So, at least in lex compatibility mode, yyleng has to remain 'int', I
> think.

If that's the case, then the skeleton needs changing. Silly
standards. Also, are these standards available online somehow for us
mere  mortals to get and consult?

--Will



reply via email to

[Prev in Thread] Current Thread [Next in Thread]