help-flex
[Top][All Lists]
Advanced

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

Re: flex beta 2.5.22 released


From: John Millaway
Subject: Re: flex beta 2.5.22 released
Date: Fri, 11 Oct 2002 15:05:24 -0400 (EDT)

> Some uses are really odd: for example in a rather complex
> lexical analyzer, I get:
>
> static yyconst int32_t yy_rule_linenum[83] =
> ...
>
> Line numbers are always nonnegative, so an unsigned type
> would be more appropriate.  Also, as the maximum value in
> this case is well under 65535, a uint16_t could have been
> used, halving the memory used for the table.

Flex generates int16_t for this table by default. You explictly asked
for long-aligned tables, via the `align' option (-Ca).






reply via email to

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