Re: Parsing user-defined types

EML <[email protected]>
Newsgroups gmane.comp.parsers.bison.general
Message-ID <[email protected]>
On 08/05/2019 19:14, Hans Åberg wrote:

> One can store the Bison token value on the lookup table that the lexer uses. So the lexer matches the identifier, then, checks if it has been identified, and if so, returns its token and semantic values. Otherwise it is just a name, like in a definition, whose Bison rule action puts it on the lookup table.
> 
> 

Hi Hans - presumably this isn't possible with flex? Do you know of a 
lexer which can do this?

_______________________________________________
[email protected] https://lists.gnu.org/mailman/listinfo/help-bison
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.