> On 18 Aug 2016, at 16:03, Min Wang <mingew...@gmail.com> wrote:
> So I should use > > %type <PROG> PROG > > > instead of > > %type <PROG*> PROG > Thus I do not need %destructor at all? If you write a proper C++ type T with T::~T destructor, then %destructor should not be used, nor explicit deallocation in the actions. _______________________________________________ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison