Hi all, I would like to create a object of some other class in the parser class, that for this time it's called calcxx_parser, just as the example.
So I want to create a object of the MyObject* object; I was looking for some %"command" but didn't find any. My solution was to add the following bison declarations: %parse-param { MyObject* object } In that way bison created automatically the object but it also creates a parameter in the call to the parser, so I then went and sent this parameter to NULL in the driver class. Well, at least for me is working but willing to know a more convenient way to get this thing working. Thanks in advance for all your help, Ibraim. _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison