Lines Matching refs:destructors
748 ## No users destructors if stack 0 deleted. See ##
752 AT_SETUP([No users destructors if stack 0 deleted])
764 static int destructors = 0;
773 destructors += 1;
779 ambig0 'a' { destructors += 2; USE ($2); }
780 | ambig1 start { destructors += 1; }
781 | ambig2 start { destructors += 1; }
803 if (tokens != destructors)
805 fprintf (stderr, "Tokens = %d, Destructors = %d\n", tokens, destructors);
880 ## Undesirable destructors if user action cuts parse. ##
883 AT_SETUP([Undesirable destructors if user action cuts parse])
892 static int destructors = 0;
899 %destructor { destructors += 1; } 'a'
904 'a' %dprec 2 { USE ($1); destructors += 1; YYACCEPT; }
905 | 'a' %dprec 1 { USE ($1); destructors += 1; YYACCEPT; }
917 if (destructors != 1)
919 fprintf (stderr, "Destructor calls: %d\n", destructors);