c++ bison, flex, having yylex return parser::symbol_type and take in arguments (parser::semantic_type, parser::location_type)

2021-05-07 Thread Scott Lorberbaum
Hi, I'm having trouble getting this to work. I don't know whether my code is set up correctly. I can't seem to find any other answers that help. Thank you. top part of my lex grammar .l file # %option c++ %{ #include #ifdef DEBUGON #ifndef DEBUG #define DEBUG #endif #

Re: c++ bison, flex, having yylex return parser::symbol_type and take in arguments (parser::semantic_type, parser::location_type)

2021-05-07 Thread Akim Demaille
Hi Scott, > Le 7 mai 2021 à 21:26, Scott Lorberbaum a écrit : > > [...] > i've played around with having the param turned on and either full %param, > or %lex %parse specific. I've turned on and off token.raw and > token.constructor but it doesn't seem to work. > the translate_ function still se