Hi Martin,
If I understand your question correctly, here is a way to have multiple
scanners and parsers in the same program.
In Flex, you can use the --prefix = NEW_PREFIX. This will change the default
"yy" prefix to NEW_PREFIX, So yylex, yytext, yyout, etc., *including
yywrap()*, will change to N
Hi Martin,
If I understand your question correctly, here is a way to have multiple
scanners and parsers in the same program.
In Flex, you can use the --prefix = NEW_PREFIX. This will change the default
"yy" prefix to NEW_PREFIX, So yylex, yytext, yyout, etc., *including
yywrap()*, will change to N
Hello,
My name is Tejas. I am trying to use Flex and Bison to parse (and convert)
one file to another format. Currently, I am not bothered about conversion,
just the parsing.
I have never used either tools, and what my problem is, may be trivial.
(Worth laughing)
Here is my problem:
I am going to a