Lines Matching full:destructor
404 %destructor
408 %destructor
412 %destructor
416 %destructor
420 %destructor
425 %destructor
763 ## Default tagless %printer and %destructor. ##
766 # Check that the right %printer and %destructor are called, that they're not
769 AT_SETUP([Default tagless %printer and %destructor])
791 %destructor {
792 fprintf (stdout, "<> destructor for '%c' @ %d.\n", $$, @$.first_column);
798 %destructor {
799 fprintf (stdout, "'b'/'c' destructor for '%c' @ %d.\n", $$, @$.first_column);
802 %destructor {
803 fprintf (yyoutput, "<*> destructor should not be called.\n");
825 [[<> destructor for 'd' @ 4.
826 'b'/'c' destructor for 'c' @ 3.
827 'b'/'c' destructor for 'b' @ 2.
828 <> destructor for 'a' @ 1.
864 ## Default tagged and per-type %printer and %destructor. ##
867 AT_SETUP([Default tagged and per-type %printer and %destructor])
892 %destructor {
893 fprintf (stdout, "<*>/<field2>/e destructor.\n");
898 %destructor { fprintf (stdout, "<field1> destructor.\n"); } <field1>
902 %destructor { fprintf (stdout, "'c' destructor.\n"); } 'c'
906 %destructor { fprintf (stdout, "'d' destructor.\n"); } 'd'
908 %destructor {
909 fprintf (yyoutput, "<> destructor should not be called.\n");
937 [[<*>/<field2>/e destructor.
938 <*>/<field2>/e destructor.
939 'd' destructor.
940 'c' destructor.
941 <field1> destructor.
942 <*>/<field2>/e destructor.
988 ## Default %printer and %destructor for user-defined end token. ##
991 AT_SETUP([Default %printer and %destructor for user-defined end token])
1014 %destructor {
1015 fprintf (yyoutput, "<]]not_kind[[> destructor should not be called.\n");
1022 %destructor {
1095 ## Default %printer and %destructor are not for error or $undefined. ##
1098 AT_SETUP([Default %printer and %destructor are not for error or $undefined])
1100 # If Bison were to apply the default %printer and %destructor to the error
1104 # - It would invoke the %printer and %destructor on the error token's
1123 %destructor {
1190 ## Default %printer and %destructor are not for $accept. ##
1193 AT_SETUP([Default %printer and %destructor are not for $accept])
1196 # %destructor to $accept:
1197 # - The %printer and %destructor code generated for $accept would always be
1206 # %printer and three for %destructor.)
1224 %destructor {
1255 ## Default %printer and %destructor for mid-rule values. ##
1258 AT_SETUP([Default %printer and %destructor for mid-rule values])
1276 %destructor { fprintf (stderr, "DESTROY %d\n", @$); } <>
1278 %destructor { fprintf (yyoutput, "<*> destructor should not be called"); } <*>
1407 AT_CHECK_ACTION_LOCATIONS([[%destructor]])
1416 # rule actions, but also where $$ is valid: %printer and %destructor.
1418 # FIXME: Not actually checking %destructor, but it's the same code as
1662 %destructor { fprintf (stderr, "'a' destructor\n"); } 'a'
1663 %destructor { fprintf (stderr, "'b' destructor\n"); } 'b'
1669 // discarded and thus before its destructor (selected according to
1698 [['b' destructor
1699 'a' destructor