Re: Bison 3.0.4 manual section 3.7.6 question

2018-08-18 Thread Akim Demaille
Hi! > Le 15 févr. 2016 à 01:31, Gary L Peskin a écrit : > > In the Bison 3.0.4 manual in section 3.7.6 on destructors, the example > shows: > > %union { char *string; } > %token STRING1 STRING2 > %type string1 string2 > %union { char character; } > %token CHR > %type chr > %token T

Bison 3.0.4 manual section 3.7.6 question

2016-02-14 Thread Gary L Peskin
In the Bison 3.0.4 manual in section 3.7.6 on destructors, the example shows: %union { char *string; } %token STRING1 STRING2 %type string1 string2 %union { char character; } %token CHR %type chr %token TAGLESS %destructor { } %destructor { free ($$); } <*> %destructor