Sorry, it should have been:
 sequence:
                    { $$ = ...; }
   | sequence token { $$ = ...;  free($2); }
That is, as $2 was allocated, it needs to be freed.

  Hans




_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to