[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Flex size_t sizes
From: |
uxio prego |
Subject: |
Re: Flex size_t sizes |
Date: |
Sat, 16 Oct 2021 22:38:22 +0200 |
Hi Hans,
> On 14 Oct 2021, at 15:23, Hans Åberg <haberg-1@telia.com> wrote:
>
> Hi Akim,
>
> Saw you have edited Flex, so I take it up here, even though not strictly a
> Bison topic:
what do you mean? Isn't westes/flex at GitHub the
"official Flex with regards to contemporary Bison" anymore?
>
> The Apple flex version has been edited to admit size_t sizes, 64-bit on the
> platform, and perhaps it might be good idea for regular flex, which uses int,
> only 32-bit there. If using '%option c++' and mixing the versions, then the
> FlexLexer.h header is incompatible with the C++ source code, generating a
> compile error.
>
> On MacOS with MacPorts and Xcode, the files are in
> /opt/local/include/FlexLexer.h
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/FlexLexer.h
>
>
>