limited c++ functions in lex/yacc compilers

"Blake Stone" <>
3 Dec 2000 01:00:36 -0500

          From comp.compilers

Related articles
limited c++ functions in lex/yacc compilers (Blake Stone) (2000-12-03)
Re: limited c++ functions in lex/yacc compilers (Blake Stone) (2000-12-06)
| List of all articles for this month |

From: "Blake Stone" <>
Newsgroups: comp.compilers
Date: 3 Dec 2000 01:00:36 -0500
Organization: Customer of Telstra Big Pond Direct
Keywords: lex, yacc, C++, question
Posted-Date: 03 Dec 2000 01:00:35 EST

Hi All,

        There are some lex/yacc compilers that generate C++ code lex/yacc
code but do any actually cater for C++ specific functions? I am trying
to include map and vector functionality in my yacc parser without much
luck. I have all the necessary #includes and made all the typedefs and
declarations that I normally do in C++. Is there something I am
missing or is it simply not possible? What work arounds are available
to have map and vector styled datatypes? I thought of a struct but
that doesn't have the dynamic sizing that I need.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.