> On 27 Aug 2018, at 22:10, Akim Demaille <a...@lrde.epita.fr> wrote:
> 
>> Most of my porting work, apart from writing the new skeletons, was
>> general grammar cleanup and conversion of semantic types from raw
>> pointers and containers to smart pointers and other RAII classes
>> (which was my main goal of the port, of course), and changes in the
>> lexer (dropping flex, but that’s another story).
> 
> I fought a lot with Flex, but it works ok in C++ too with lalr1.cc.
> I have one parser here, 
> https://gitlab.lrde.epita.fr/vcsn/vcsn/tree/master/lib/vcsn/dot,
> and another there 
> https://gitlab.lrde.epita.fr/vcsn/vcsn/tree/master/lib/vcsn/rat
> for instance, using Flex.

That is probably versions before 2.6; the yyin and yyout have been changed in 
the C++ header so that they are no longer pointers, so it is not only 
incompatible with the header of older versions, but also with the code it 
writes, resulting in the issue [1].

1. 
https://stackoverflow.com/questions/34438023/openfoam-flex-yyin-rdbufstdcin-rdbuf-error



Reply via email to