10;input.at:392;Torturing the Scanner;;
11;input.at:550;Typed symbol aliases;;
12;input.at:586;Require 1.0;;
-13;input.at:587;Require 2.6;;
+13;input.at:587;Require 2.6.2;;
14;input.at:589;Require 100.0;;
15;input.at:596;String aliases for character tokens;;
16;input.at:617;Symbols;;
32;input.at:1292;LAC: Errors for %define;;
33;input.at:1315;-Werror is not affected by -Wnone and -Wall;;
34;input.at:1349;%name-prefix and %define api.prefix are incompatible;;
-35;named-refs.at:21;Tutorial calculator;;
-36;named-refs.at:195;Undefined and ambiguous references;;
-37;named-refs.at:271;Misleading references;;
-38;named-refs.at:288;Many kinds of errors;;
-39;named-refs.at:400;Missing identifiers in brackets;;
-40;named-refs.at:414;Redundant words in brackets;;
-41;named-refs.at:428;Comments in brackets;;
-42;named-refs.at:442;Stray symbols in brackets;;
-43;named-refs.at:459;Redundant words in LHS brackets;;
-44;named-refs.at:474;Factored LHS;;
-45;named-refs.at:485;Unresolved references;;
-46;named-refs.at:550;\$ or @ followed by . or -;;
-47;output.at:44;Output files: -dv ;;
-48;output.at:50;Output files: -dv >&-;;
-49;output.at:55;Output files: -dv -o foo.c ;;
-50;output.at:57;Output files: -dv -o foo.tab.c ;;
-51;output.at:59;Output files: -dv -y ;;
-52;output.at:61;Output files: -dv -b bar ;;
-53;output.at:63;Output files: -dv -g -o foo.c ;;
-54;output.at:67;Output files: %defines %verbose ;;
-55;output.at:69;Output files: %defines %verbose %yacc ;;
-56;output.at:72;Output files: %defines %verbose %yacc ;;
-57;output.at:76;Output files: %file-prefix \"bar\" %defines %verbose ;;
-58;output.at:78;Output files: %output=\"bar.c\" %defines %verbose %yacc ;;
-59;output.at:80;Output files: %file-prefix=\"baz\" %output \"bar.c\" %defines %verbose %yacc ;;
-60;output.at:87;Output files: %defines %verbose ;;
-61;output.at:90;Output files: %defines %verbose -o foo.c ;;
-62;output.at:93;Output files: --defines=foo.hpp -o foo.c++ ;;
-63;output.at:97;Output files: %defines \"foo.hpp\" -o foo.c++ ;;
-64;output.at:101;Output files: -o foo.c++ --graph=foo.gph ;;
-65;output.at:116;Output files: %skeleton \"lalr1.cc\" %defines %verbose ;;
-66;output.at:119;Output files: %skeleton \"lalr1.cc\" %defines %verbose ;;
-67;output.at:123;Output files: %skeleton \"lalr1.cc\" %defines %verbose -o subdir/foo.cc ;;
-68;output.at:128;Output files: %skeleton \"lalr1.cc\" %defines %verbose %file-prefix \"output_dir/foo\" ;;
-69;output.at:158;Conflicting output files: --graph=\"foo.tab.c\";;
-70;output.at:163;Conflicting output files: %defines \"foo.output\" -v;;
-71;output.at:168;Conflicting output files: %skeleton \"lalr1.cc\" %defines --graph=\"location.hh\";;
-72;output.at:173;Conflicting output files: -o foo.y;;
-73;output.at:219;Output file name: \`~!@#\$%^&*()-=_+{}[]|\\:;<>, .';c++;
-74;output.at:226;Output file name: (;c++;
-75;output.at:227;Output file name: );c++;
-76;output.at:228;Output file name: #;c++;
-77;output.at:229;Output file name: @@;c++;
-78;output.at:230;Output file name: @{;c++;
-79;output.at:231;Output file name: @};c++;
-80;output.at:232;Output file name: [;c++;
-81;output.at:233;Output file name: ];c++;
-82;skeletons.at:24;Relative skeleton file names;;
-83;skeletons.at:84;Installed skeleton file names;;
-84;skeletons.at:146;%define Boolean variables: invalid skeleton defaults;;
-85;skeletons.at:170;Complaining during macro argument expansion;;
-86;skeletons.at:252;Fatal errors make M4 exit immediately;;
-87;skeletons.at:306;Fatal errors but M4 continues producing output;;
-88;sets.at:66;Nullable;;
-89;sets.at:151;Broken Closure;;
-90;sets.at:193;Firsts;;
-91;sets.at:269;Accept;;
-92;reduce.at:25;Useless Terminals;;
-93;reduce.at:69;Useless Nonterminals;;
-94;reduce.at:124;Useless Rules;report;
-95;reduce.at:212;Reduced Automaton;report;
-96;reduce.at:302;Underivable Rules;report;
-97;reduce.at:344;Empty Language;;
-98;reduce.at:395;no %define lr.type: Single State Split;;
-99;reduce.at:395;%define lr.type lalr: Single State Split;;
-100;reduce.at:395;%define lr.type ielr: Single State Split;;
-101;reduce.at:395;%define lr.type canonical-lr: Single State Split;;
-102;reduce.at:628;no %define lr.type: Lane Split;;
-103;reduce.at:628;%define lr.type lalr: Lane Split;;
-104;reduce.at:628;%define lr.type ielr: Lane Split;;
-105;reduce.at:628;%define lr.type canonical-lr: Lane Split;;
-106;reduce.at:872;no %define lr.type: Complex Lane Split;;
-107;reduce.at:872;%define lr.type lalr: Complex Lane Split;;
-108;reduce.at:872;%define lr.type ielr: Complex Lane Split;;
-109;reduce.at:872;%define lr.type canonical-lr: Complex Lane Split;;
-110;reduce.at:1141;no %define lr.type: Split During Added Lookahead Propagation;;
-111;reduce.at:1141;%define lr.type lalr: Split During Added Lookahead Propagation;;
-112;reduce.at:1141;%define lr.type ielr: Split During Added Lookahead Propagation;;
-113;reduce.at:1141;%define lr.type canonical-lr: Split During Added Lookahead Propagation;;
-114;reduce.at:1471;no %define lr.default-reductions;;
-115;reduce.at:1471;%define lr.default-reductions most;;
-116;reduce.at:1471;%define lr.default-reductions consistent;;
-117;reduce.at:1471;%define lr.default-reductions accepting;;
-118;synclines.at:111;Prologue synch line;;
-119;synclines.at:129;%union synch line;;
-120;synclines.at:150;Postprologue synch line;;
-121;synclines.at:174;Action synch line;;
-122;synclines.at:193;Epilogue synch line;;
-123;headers.at:57;Invalid CPP guards: --defines=input/input.h;;
-124;headers.at:58;Invalid CPP guards: --defines=9foo.h;;
-125;headers.at:59;Invalid CPP guards: %glr-parser --defines=input/input.h;;
-126;headers.at:60;Invalid CPP guards: %glr-parser --defines=9foo.h;;
-127;headers.at:69;export YYLTYPE;;
-128;headers.at:125;Several parsers;c++;
-129;actions.at:24;Mid-rule actions;;
-130;actions.at:79;Exotic Dollars;;
-131;actions.at:574;Printers and Destructors : ;;
-132;actions.at:575;Printers and Destructors with union: ;;
-133;actions.at:577;Printers and Destructors : %defines %skeleton \"lalr1.cc\";c++;
-134;actions.at:578;Printers and Destructors with union: %defines %skeleton \"lalr1.cc\";c++;
-135;actions.at:580;Printers and Destructors : %glr-parser;;
-136;actions.at:581;Printers and Destructors with union: %glr-parser;;
-137;actions.at:592;Default tagless %printer and %destructor;;
-138;actions.at:694;Default tagged and per-type %printer and %destructor;;
-139;actions.at:818;Default %printer and %destructor for user-defined end token;;
-140;actions.at:929;Default %printer and %destructor are not for error or \$undefined;;
-141;actions.at:1024;Default %printer and %destructor are not for \$accept;;
-142;actions.at:1089;Default %printer and %destructor for mid-rule values;;
-143;actions.at:1228;@\$ in %initial-action implies %locations;;
-144;actions.at:1229;@\$ in %destructor implies %locations;;
-145;actions.at:1230;@\$ in %printer implies %locations;;
-146;actions.at:1237;Fix user actions without a trailing semicolon;;
-147;actions.at:1346;Destroying lookahead assigned by semantic action;;
-148;actions.at:1405;YYBACKUP;;
-149;conflicts.at:31;S/R in initial;;
-150;conflicts.at:51;%nonassoc and eof;;
-151;conflicts.at:149;%error-verbose and consistent errors;c++ java;
-152;conflicts.at:450;LAC: %nonassoc requires splitting canonical LR states;;
-153;conflicts.at:540;Unresolved SR Conflicts;report;
-154;conflicts.at:647;Resolved SR Conflicts;report;
-155;conflicts.at:769;Defaulted Conflicted Reduction;report;
-156;conflicts.at:888;%expect not enough;;
-157;conflicts.at:908;%expect right;;
-158;conflicts.at:925;%expect too much;;
-159;conflicts.at:945;%expect with reduce conflicts;;
-160;conflicts.at:965;%prec with user string;;
-161;conflicts.at:982;%no-default-prec without %prec;;
-162;conflicts.at:1008;%no-default-prec with %prec;;
-163;conflicts.at:1032;%default-prec;;
-164;conflicts.at:1056;Unreachable States After Conflict Resolution;;
-165;conflicts.at:1267;Solved conflicts report for multiple reductions in a state;;
-166;conflicts.at:1347;%nonassoc error actions for multiple reductions in a state;;
-167;conflicts.at:1416;-W versus %expect and %expect-rr;;
-168;calc.at:616;Calculator ;;
-169;calc.at:618;Calculator %defines;;
-170;calc.at:619;Calculator %locations;;
-171;calc.at:621;Calculator %name-prefix=\"calc\";;
-172;calc.at:622;Calculator %verbose;;
-173;calc.at:623;Calculator %yacc;;
-174;calc.at:624;Calculator %error-verbose;;
-175;calc.at:626;Calculator %define api.pure %locations;;
-176;calc.at:627;Calculator %define api.push-pull both %define api.pure %locations;;
-177;calc.at:628;Calculator %error-verbose %locations;;
-178;calc.at:630;Calculator %error-verbose %locations %defines %name-prefix \"calc\" %verbose %yacc;;
-179;calc.at:631;Calculator %error-verbose %locations %defines %define api.prefix \"calc\" %verbose %yacc;;
-180;calc.at:633;Calculator %debug;;
-181;calc.at:634;Calculator %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc;;
-182;calc.at:635;Calculator %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc;;
-183;calc.at:637;Calculator %define api.pure %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc;;
-184;calc.at:638;Calculator %define api.push-pull both %define api.pure %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc;;
-185;calc.at:640;Calculator %define api.pure %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count};;
-186;calc.at:657;Calculator %glr-parser ;;
-187;calc.at:659;Calculator %glr-parser %defines;;
-188;calc.at:660;Calculator %glr-parser %locations;;
-189;calc.at:661;Calculator %glr-parser %name-prefix \"calc\";;
-190;calc.at:662;Calculator %glr-parser %define api.prefix \"calc\";;
-191;calc.at:663;Calculator %glr-parser %verbose;;
-192;calc.at:664;Calculator %glr-parser %yacc;;
-193;calc.at:665;Calculator %glr-parser %error-verbose;;
-194;calc.at:667;Calculator %glr-parser %define api.pure %locations;;
-195;calc.at:668;Calculator %glr-parser %error-verbose %locations;;
-196;calc.at:670;Calculator %glr-parser %error-verbose %locations %defines %name-prefix \"calc\" %verbose %yacc;;
-197;calc.at:672;Calculator %glr-parser %debug;;
-198;calc.at:673;Calculator %glr-parser %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc;;
-199;calc.at:674;Calculator %glr-parser %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc;;
-200;calc.at:676;Calculator %glr-parser %define api.pure %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc;;
-201;calc.at:678;Calculator %glr-parser %define api.pure %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count};;
-202;calc.at:679;Calculator %glr-parser %define api.pure %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count};;
-203;calc.at:689;Calculator %skeleton \"lalr1.cc\" %defines %locations;c++;
-204;calc.at:698;Calculator %language \"C++\" %defines %locations ;c++;
-205;calc.at:699;Calculator %language \"C++\" %defines %locations %define location_type Span;c++;
-206;calc.at:700;Calculator %language \"C++\" %defines %locations %error-verbose %name-prefix \"calc\" %verbose %yacc;c++;
-207;calc.at:701;Calculator %language \"C++\" %defines %locations %error-verbose %define api.prefix \"calc\" %verbose %yacc;c++;
-208;calc.at:702;Calculator %language \"C++\" %defines %locations %error-verbose %debug %name-prefix \"calc\" %verbose %yacc;c++;
-209;calc.at:704;Calculator %language \"C++\" %defines %locations %pure-parser %error-verbose %debug %define api.prefix \"calc\" %verbose %yacc;c++;
-210;calc.at:706;Calculator %language \"C++\" %defines %locations %pure-parser %error-verbose %debug %name-prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count};c++;
-211;calc.at:707;Calculator %language \"C++\" %defines %locations %pure-parser %error-verbose %debug %define api.prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count};c++;
-212;calc.at:718;Calculator %skeleton \"glr.cc\" %defines %locations;c++;
-213;calc.at:727;Calculator %language \"C++\" %glr-parser %defines %locations ;c++;
-214;calc.at:728;Calculator %language \"C++\" %glr-parser %defines %locations %define location_type Span;c++;
-215;calc.at:729;Calculator %language \"C++\" %glr-parser %defines %locations %error-verbose %name-prefix \"calc\" %verbose %yacc;c++;
-216;calc.at:730;Calculator %language \"C++\" %glr-parser %defines %locations %error-verbose %define api.prefix \"calc\" %verbose %yacc;c++;
-217;calc.at:732;Calculator %language \"C++\" %glr-parser %defines %locations %debug;c++;
-218;calc.at:733;Calculator %language \"C++\" %glr-parser %defines %locations %error-verbose %debug %name-prefix \"calc\" %verbose %yacc;c++;
-219;calc.at:735;Calculator %language \"C++\" %glr-parser %defines %locations %pure-parser %error-verbose %debug %name-prefix \"calc\" %verbose %yacc;c++;
-220;calc.at:737;Calculator %language \"C++\" %glr-parser %defines %locations %pure-parser %error-verbose %debug %name-prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count};c++;
-221;calc.at:738;Calculator %language \"C++\" %glr-parser %defines %locations %pure-parser %error-verbose %debug %define api.prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count};c++;
-222;torture.at:137;Big triangle;;
-223;torture.at:227;Big horizontal;;
-224;torture.at:363;Many lookahead tokens;;
-225;torture.at:459;Exploding the Stack Size with Alloca;;
-226;torture.at:505;Exploding the Stack Size with Malloc;;
-227;existing.at:76;GNU AWK 3.1.0 Grammar: LALR(1);;
-228;existing.at:76;GNU AWK 3.1.0 Grammar: IELR(1);;
-229;existing.at:76;GNU AWK 3.1.0 Grammar: Canonical LR(1);;
-230;existing.at:780;GNU Cim Grammar: LALR(1);;
-231;existing.at:780;GNU Cim Grammar: IELR(1);;
-232;existing.at:780;GNU Cim Grammar: Canonical LR(1);;
-233;existing.at:1400;GNU pic (Groff 1.18.1) Grammar: LALR(1);;
-234;existing.at:1400;GNU pic (Groff 1.18.1) Grammar: IELR(1);;
-235;existing.at:1400;GNU pic (Groff 1.18.1) Grammar: Canonical LR(1);;
-236;regression.at:25;Trivial grammars;;
-237;regression.at:55;YYSTYPE typedef;;
-238;regression.at:85;Early token definitions with --yacc;;
-239;regression.at:125;Early token definitions without --yacc;;
-240;regression.at:170;Braces parsing;;
-241;regression.at:194;Duplicate string;;
-242;regression.at:222;Rule Line Numbers;report;
-243;regression.at:368;Mixing %token styles;;
-244;regression.at:391;Invalid inputs;;
-245;regression.at:418;Invalid inputs with {};;
-246;regression.at:443;Token definitions;;
-247;regression.at:503;Characters Escapes;;
-248;regression.at:536;Web2c Report;report;
-249;regression.at:713;Web2c Actions;report;
-250;regression.at:929;Dancer ;;
-251;regression.at:930;Dancer %glr-parser;;
-252;regression.at:931;Dancer %skeleton \"lalr1.cc\";c++;
-253;regression.at:1014;Expecting two tokens ;;
-254;regression.at:1015;Expecting two tokens %glr-parser;;
-255;regression.at:1016;Expecting two tokens %skeleton \"lalr1.cc\";c++;
-256;regression.at:1024;Braced code in declaration in rules section;;
-257;regression.at:1091;String alias declared after use;;
-258;regression.at:1114;Extra lookahead sets in report;;
-259;regression.at:1155;Token number in precedence declaration;;
-260;regression.at:1213;parse-gram.y: LALR = IELR;;
-261;regression.at:1234;%error-verbose and YYSTACK_USE_ALLOCA;;
-262;regression.at:1313;%error-verbose overflow;;
-263;regression.at:1423;LAC: Exploratory stack;;
-264;regression.at:1517;LAC: Memory exhaustion;;
-265;c++.at:102;Doxygen Public Documentation;;
-266;c++.at:103;Doxygen Private Documentation;;
-267;c++.at:161;Relative namespace references;c++;
-268;c++.at:167;Absolute namespace references;c++;
-269;c++.at:176;Syntactically invalid namespace references;;
-270;java.at:360;Calculator ;java;
-271;java.at:360;Calculator %error-verbose ;java;
-272;java.at:360;Calculator %locations ;java;
-273;java.at:360;Calculator %error-verbose %locations ;java;
-274;java.at:369;Calculator %lex-param { InputStream is } ;java;
-275;java.at:369;Calculator %error-verbose %lex-param { InputStream is } ;java;
-276;java.at:369;Calculator %locations %lex-param { InputStream is } ;java;
-277;java.at:369;Calculator %error-verbose %locations %lex-param { InputStream is } ;java;
-278;java.at:455;Java parser class and package names;java;
-279;java.at:476;Java parser class modifiers;java;
-280;java.at:534;Java parser class extends and implements;java;
-281;java.at:554;Java %parse-param and %lex-param;java;
-282;java.at:628;Java throws specifications;java;
-283;java.at:717;Java stype, position_class and location_class;java;
-284;java.at:748;Java syntax error handling without error token;java;
-285;cxx-type.at:394;GLR: Resolve ambiguity, impure, no locations;;
-286;cxx-type.at:401;GLR: Resolve ambiguity, impure, locations;;
-287;cxx-type.at:407;GLR: Resolve ambiguity, pure, no locations;;
-288;cxx-type.at:414;GLR: Resolve ambiguity, pure, locations;;
-289;cxx-type.at:421;GLR: Merge conflicting parses, impure, no locations;;
-290;cxx-type.at:428;GLR: Merge conflicting parses, impure, locations;;
-291;cxx-type.at:435;GLR: Merge conflicting parses, pure, no locations;;
-292;cxx-type.at:441;GLR: Merge conflicting parses, pure, locations;;
-293;cxx-type.at:448;GLR: Verbose messages, resolve ambiguity, impure, no locations;;
-294;glr-regression.at:25;Badly Collapsed GLR States;;
-295;glr-regression.at:117;Improper handling of embedded actions and dollar(-N) in GLR parsers;;
-296;glr-regression.at:233;Improper merging of GLR delayed action sets;;
-297;glr-regression.at:345;Duplicate representation of merged trees;;
-298;glr-regression.at:436;User destructor for unresolved GLR semantic value;;
-299;glr-regression.at:496;User destructor after an error during a split parse;;
-300;glr-regression.at:550;Duplicated user destructor for lookahead;;
-301;glr-regression.at:639;Incorrectly initialized location for empty right-hand side in GLR;;
-302;glr-regression.at:733;No users destructors if stack 0 deleted;;
-303;glr-regression.at:810;Corrupted semantic options if user action cuts parse;;
-304;glr-regression.at:864;Undesirable destructors if user action cuts parse;;
-305;glr-regression.at:922;Leaked semantic values if user action cuts parse;;
-306;glr-regression.at:1045;Incorrect lookahead during deterministic GLR;;
-307;glr-regression.at:1169;Incorrect lookahead during nondeterministic GLR;;
-308;glr-regression.at:1386;Leaked semantic values when reporting ambiguity;;
-309;glr-regression.at:1468;Leaked lookahead after nondeterministic parse syntax error;;
-310;glr-regression.at:1528;Uninitialized location when reporting ambiguity;;
-311;glr-regression.at:1613;Missed %merge type warnings when LHS type is declared later;;
-312;glr-regression.at:1666;Ambiguity reports;;
-313;push.at:24;Memory Leak for Early Deletion;;
-314;push.at:83;Multiple impure instances;;
-315;push.at:144;Unsupported Skeletons;;
+35;input.at:1378;Stray \$ or @;;
+36;input.at:1412;Code injection;;
+37;named-refs.at:21;Tutorial calculator;;
+38;named-refs.at:195;Undefined and ambiguous references;;
+39;named-refs.at:271;Misleading references;;
+40;named-refs.at:288;Many kinds of errors;;
+41;named-refs.at:400;Missing identifiers in brackets;;
+42;named-refs.at:414;Redundant words in brackets;;
+43;named-refs.at:428;Comments in brackets;;
+44;named-refs.at:442;Stray symbols in brackets;;
+45;named-refs.at:459;Redundant words in LHS brackets;;
+46;named-refs.at:474;Factored LHS;;
+47;named-refs.at:485;Unresolved references;;
+48;named-refs.at:550;\$ or @ followed by . or -;;
+49;output.at:44;Output files: -dv ;;
+50;output.at:50;Output files: -dv >&-;;
+51;output.at:55;Output files: -dv -o foo.c ;;
+52;output.at:57;Output files: -dv -o foo.tab.c ;;
+53;output.at:59;Output files: -dv -y ;;
+54;output.at:61;Output files: -dv -b bar ;;
+55;output.at:63;Output files: -dv -g -o foo.c ;;
+56;output.at:67;Output files: %defines %verbose ;;
+57;output.at:69;Output files: %defines %verbose %yacc ;;
+58;output.at:72;Output files: %defines %verbose %yacc ;;
+59;output.at:76;Output files: %file-prefix \"bar\" %defines %verbose ;;
+60;output.at:78;Output files: %output=\"bar.c\" %defines %verbose %yacc ;;
+61;output.at:80;Output files: %file-prefix=\"baz\" %output \"bar.c\" %defines %verbose %yacc ;;
+62;output.at:87;Output files: %defines %verbose ;;
+63;output.at:90;Output files: %defines %verbose -o foo.c ;;
+64;output.at:93;Output files: --defines=foo.hpp -o foo.c++ ;;
+65;output.at:97;Output files: %defines \"foo.hpp\" -o foo.c++ ;;
+66;output.at:101;Output files: -o foo.c++ --graph=foo.gph ;;
+67;output.at:116;Output files: %skeleton \"lalr1.cc\" %defines %verbose ;;
+68;output.at:119;Output files: %skeleton \"lalr1.cc\" %defines %verbose ;;
+69;output.at:123;Output files: %skeleton \"lalr1.cc\" %defines %verbose -o subdir/foo.cc ;;
+70;output.at:128;Output files: %skeleton \"lalr1.cc\" %defines %verbose %file-prefix \"output_dir/foo\" ;;
+71;output.at:158;Conflicting output files: --graph=\"foo.tab.c\";;
+72;output.at:163;Conflicting output files: %defines \"foo.output\" -v;;
+73;output.at:168;Conflicting output files: %skeleton \"lalr1.cc\" %defines --graph=\"location.hh\";;
+74;output.at:173;Conflicting output files: -o foo.y;;
+75;output.at:219;Output file name: \`~!@#\$%^&*()-=_+{}[]|\\:;<>, .';c++;
+76;output.at:226;Output file name: (;c++;
+77;output.at:227;Output file name: );c++;
+78;output.at:228;Output file name: #;c++;
+79;output.at:229;Output file name: @@;c++;
+80;output.at:230;Output file name: @{;c++;
+81;output.at:231;Output file name: @};c++;
+82;output.at:232;Output file name: [;c++;
+83;output.at:233;Output file name: ];c++;
+84;skeletons.at:24;Relative skeleton file names;;
+85;skeletons.at:84;Installed skeleton file names;;
+86;skeletons.at:146;%define Boolean variables: invalid skeleton defaults;;
+87;skeletons.at:170;Complaining during macro argument expansion;;
+88;skeletons.at:252;Fatal errors make M4 exit immediately;;
+89;skeletons.at:306;Fatal errors but M4 continues producing output;;
+90;sets.at:66;Nullable;;
+91;sets.at:151;Broken Closure;;
+92;sets.at:193;Firsts;;
+93;sets.at:269;Accept;;
+94;reduce.at:25;Useless Terminals;;
+95;reduce.at:69;Useless Nonterminals;;
+96;reduce.at:124;Useless Rules;report;
+97;reduce.at:212;Reduced Automaton;report;
+98;reduce.at:302;Underivable Rules;report;
+99;reduce.at:344;Empty Language;;
+100;reduce.at:395;no %define lr.type: Single State Split;;
+101;reduce.at:395;%define lr.type lalr: Single State Split;;
+102;reduce.at:395;%define lr.type ielr: Single State Split;;
+103;reduce.at:395;%define lr.type canonical-lr: Single State Split;;
+104;reduce.at:628;no %define lr.type: Lane Split;;
+105;reduce.at:628;%define lr.type lalr: Lane Split;;
+106;reduce.at:628;%define lr.type ielr: Lane Split;;
+107;reduce.at:628;%define lr.type canonical-lr: Lane Split;;
+108;reduce.at:872;no %define lr.type: Complex Lane Split;;
+109;reduce.at:872;%define lr.type lalr: Complex Lane Split;;
+110;reduce.at:872;%define lr.type ielr: Complex Lane Split;;
+111;reduce.at:872;%define lr.type canonical-lr: Complex Lane Split;;
+112;reduce.at:1141;no %define lr.type: Split During Added Lookahead Propagation;;
+113;reduce.at:1141;%define lr.type lalr: Split During Added Lookahead Propagation;;
+114;reduce.at:1141;%define lr.type ielr: Split During Added Lookahead Propagation;;
+115;reduce.at:1141;%define lr.type canonical-lr: Split During Added Lookahead Propagation;;
+116;reduce.at:1471;no %define lr.default-reductions;;
+117;reduce.at:1471;%define lr.default-reductions most;;
+118;reduce.at:1471;%define lr.default-reductions consistent;;
+119;reduce.at:1471;%define lr.default-reductions accepting;;
+120;synclines.at:124;Prologue syncline;;
+121;synclines.at:142;%union syncline;;
+122;synclines.at:163;Postprologue syncline;;
+123;synclines.at:187;Action syncline;;
+124;synclines.at:206;Epilogue syncline;;
+125;headers.at:57;Invalid CPP guards: --defines=input/input.h;;
+126;headers.at:58;Invalid CPP guards: --defines=9foo.h;;
+127;headers.at:59;Invalid CPP guards: %glr-parser --defines=input/input.h;;
+128;headers.at:60;Invalid CPP guards: %glr-parser --defines=9foo.h;;
+129;headers.at:69;export YYLTYPE;;
+130;headers.at:125;Several parsers;c++;
+131;actions.at:24;Mid-rule actions;;
+132;actions.at:79;Exotic Dollars;;
+133;actions.at:574;Printers and Destructors : ;;
+134;actions.at:575;Printers and Destructors with union: ;;
+135;actions.at:577;Printers and Destructors : %defines %skeleton \"lalr1.cc\";c++;
+136;actions.at:578;Printers and Destructors with union: %defines %skeleton \"lalr1.cc\";c++;
+137;actions.at:580;Printers and Destructors : %glr-parser;;
+138;actions.at:581;Printers and Destructors with union: %glr-parser;;
+139;actions.at:592;Default tagless %printer and %destructor;;
+140;actions.at:694;Default tagged and per-type %printer and %destructor;;
+141;actions.at:818;Default %printer and %destructor for user-defined end token;;
+142;actions.at:929;Default %printer and %destructor are not for error or \$undefined;;
+143;actions.at:1024;Default %printer and %destructor are not for \$accept;;
+144;actions.at:1089;Default %printer and %destructor for mid-rule values;;
+145;actions.at:1228;@\$ in %initial-action implies %locations;;
+146;actions.at:1229;@\$ in %destructor implies %locations;;
+147;actions.at:1230;@\$ in %printer implies %locations;;
+148;actions.at:1362;Qualified \$\$ in actions: yacc.c;;
+149;actions.at:1363;Qualified \$\$ in actions: glr.c;;
+150;actions.at:1364;Qualified \$\$ in actions: lalr1.cc;c++;
+151;actions.at:1365;Qualified \$\$ in actions: glr.cc;c++;
+152;actions.at:1373;Fix user actions without a trailing semicolon;;
+153;actions.at:1482;Destroying lookahead assigned by semantic action;;
+154;actions.at:1541;YYBACKUP;;
+155;conflicts.at:31;S/R in initial;;
+156;conflicts.at:51;%nonassoc and eof;;
+157;conflicts.at:149;%error-verbose and consistent errors;c++ java;
+158;conflicts.at:450;LAC: %nonassoc requires splitting canonical LR states;;
+159;conflicts.at:540;Unresolved SR Conflicts;report;
+160;conflicts.at:647;Resolved SR Conflicts;report;
+161;conflicts.at:769;Defaulted Conflicted Reduction;report;
+162;conflicts.at:888;%expect not enough;;
+163;conflicts.at:908;%expect right;;
+164;conflicts.at:925;%expect too much;;
+165;conflicts.at:945;%expect with reduce conflicts;;
+166;conflicts.at:965;%prec with user string;;
+167;conflicts.at:982;%no-default-prec without %prec;;
+168;conflicts.at:1008;%no-default-prec with %prec;;
+169;conflicts.at:1032;%default-prec;;
+170;conflicts.at:1056;Unreachable States After Conflict Resolution;;
+171;conflicts.at:1267;Solved conflicts report for multiple reductions in a state;;
+172;conflicts.at:1347;%nonassoc error actions for multiple reductions in a state;;
+173;conflicts.at:1416;-W versus %expect and %expect-rr;;
+174;calc.at:630;Calculator ;;
+175;calc.at:632;Calculator %defines;;
+176;calc.at:633;Calculator %locations;;
+177;calc.at:635;Calculator %name-prefix=\"calc\";;
+178;calc.at:636;Calculator %verbose;;
+179;calc.at:637;Calculator %yacc;;
+180;calc.at:638;Calculator %error-verbose;;
+181;calc.at:640;Calculator %define api.pure %locations;;
+182;calc.at:641;Calculator %define api.push-pull both %define api.pure %locations;;
+183;calc.at:642;Calculator %error-verbose %locations;;
+184;calc.at:644;Calculator %error-verbose %locations %defines %name-prefix \"calc\" %verbose %yacc;;
+185;calc.at:645;Calculator %error-verbose %locations %defines %define api.prefix \"calc\" %verbose %yacc;;
+186;calc.at:647;Calculator %debug;;
+187;calc.at:648;Calculator %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc;;
+188;calc.at:649;Calculator %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc;;
+189;calc.at:651;Calculator %define api.pure %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc;;
+190;calc.at:652;Calculator %define api.push-pull both %define api.pure %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc;;
+191;calc.at:654;Calculator %define api.pure %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count};;
+192;calc.at:671;Calculator %glr-parser ;;
+193;calc.at:673;Calculator %glr-parser %defines;;
+194;calc.at:674;Calculator %glr-parser %locations;;
+195;calc.at:675;Calculator %glr-parser %name-prefix \"calc\";;
+196;calc.at:676;Calculator %glr-parser %define api.prefix \"calc\";;
+197;calc.at:677;Calculator %glr-parser %verbose;;
+198;calc.at:678;Calculator %glr-parser %yacc;;
+199;calc.at:679;Calculator %glr-parser %error-verbose;;
+200;calc.at:681;Calculator %glr-parser %define api.pure %locations;;
+201;calc.at:682;Calculator %glr-parser %error-verbose %locations;;
+202;calc.at:684;Calculator %glr-parser %error-verbose %locations %defines %name-prefix \"calc\" %verbose %yacc;;
+203;calc.at:686;Calculator %glr-parser %debug;;
+204;calc.at:687;Calculator %glr-parser %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc;;
+205;calc.at:688;Calculator %glr-parser %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc;;
+206;calc.at:690;Calculator %glr-parser %define api.pure %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc;;
+207;calc.at:692;Calculator %glr-parser %define api.pure %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count};;
+208;calc.at:693;Calculator %glr-parser %define api.pure %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count};;
+209;calc.at:703;Calculator %skeleton \"lalr1.cc\" %defines %locations;c++;
+210;calc.at:712;Calculator %language \"C++\" %defines %locations ;c++;
+211;calc.at:713;Calculator %language \"C++\" %defines %locations %define location_type Span;c++;
+212;calc.at:714;Calculator %language \"C++\" %defines %locations %error-verbose %name-prefix \"calc\" %verbose %yacc;c++;
+213;calc.at:715;Calculator %language \"C++\" %defines %locations %error-verbose %define api.prefix \"calc\" %verbose %yacc;c++;
+214;calc.at:716;Calculator %language \"C++\" %defines %locations %error-verbose %debug %name-prefix \"calc\" %verbose %yacc;c++;
+215;calc.at:718;Calculator %language \"C++\" %defines %locations %pure-parser %error-verbose %debug %define api.prefix \"calc\" %verbose %yacc;c++;
+216;calc.at:720;Calculator %language \"C++\" %defines %locations %pure-parser %error-verbose %debug %name-prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count};c++;
+217;calc.at:721;Calculator %language \"C++\" %defines %locations %pure-parser %error-verbose %debug %define api.prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count};c++;
+218;calc.at:732;Calculator %skeleton \"glr.cc\" %defines %locations;c++;
+219;calc.at:741;Calculator %language \"C++\" %glr-parser %defines %locations ;c++;
+220;calc.at:742;Calculator %language \"C++\" %glr-parser %defines %locations %define location_type Span;c++;
+221;calc.at:743;Calculator %language \"C++\" %glr-parser %defines %locations %error-verbose %name-prefix \"calc\" %verbose %yacc;c++;
+222;calc.at:744;Calculator %language \"C++\" %glr-parser %defines %locations %error-verbose %define api.prefix \"calc\" %verbose %yacc;c++;
+223;calc.at:746;Calculator %language \"C++\" %glr-parser %defines %locations %debug;c++;
+224;calc.at:747;Calculator %language \"C++\" %glr-parser %defines %locations %error-verbose %debug %name-prefix \"calc\" %verbose %yacc;c++;
+225;calc.at:749;Calculator %language \"C++\" %glr-parser %defines %locations %pure-parser %error-verbose %debug %name-prefix \"calc\" %verbose %yacc;c++;
+226;calc.at:751;Calculator %language \"C++\" %glr-parser %defines %locations %pure-parser %error-verbose %debug %name-prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count};c++;
+227;calc.at:752;Calculator %language \"C++\" %glr-parser %defines %locations %pure-parser %error-verbose %debug %define api.prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count};c++;
+228;torture.at:137;Big triangle;;
+229;torture.at:227;Big horizontal;;
+230;torture.at:363;Many lookahead tokens;;
+231;torture.at:459;Exploding the Stack Size with Alloca;;
+232;torture.at:505;Exploding the Stack Size with Malloc;;
+233;existing.at:76;GNU AWK 3.1.0 Grammar: LALR(1);;
+234;existing.at:76;GNU AWK 3.1.0 Grammar: IELR(1);;
+235;existing.at:76;GNU AWK 3.1.0 Grammar: Canonical LR(1);;
+236;existing.at:780;GNU Cim Grammar: LALR(1);;
+237;existing.at:780;GNU Cim Grammar: IELR(1);;
+238;existing.at:780;GNU Cim Grammar: Canonical LR(1);;
+239;existing.at:1400;GNU pic (Groff 1.18.1) Grammar: LALR(1);;
+240;existing.at:1400;GNU pic (Groff 1.18.1) Grammar: IELR(1);;
+241;existing.at:1400;GNU pic (Groff 1.18.1) Grammar: Canonical LR(1);;
+242;regression.at:25;Trivial grammars;;
+243;regression.at:55;YYSTYPE typedef;;
+244;regression.at:85;Early token definitions with --yacc;;
+245;regression.at:125;Early token definitions without --yacc;;
+246;regression.at:170;Braces parsing;;
+247;regression.at:194;Duplicate string;;
+248;regression.at:222;Rule Line Numbers;report;
+249;regression.at:368;Mixing %token styles;;
+250;regression.at:391;Invalid inputs;;
+251;regression.at:418;Invalid inputs with {};;
+252;regression.at:443;Token definitions;;
+253;regression.at:503;Characters Escapes;;
+254;regression.at:536;Web2c Report;report;
+255;regression.at:713;Web2c Actions;report;
+256;regression.at:928;Dancer ;;
+257;regression.at:929;Dancer %glr-parser;;
+258;regression.at:930;Dancer %skeleton \"lalr1.cc\";c++;
+259;regression.at:1012;Expecting two tokens ;;
+260;regression.at:1013;Expecting two tokens %glr-parser;;
+261;regression.at:1014;Expecting two tokens %skeleton \"lalr1.cc\";c++;
+262;regression.at:1022;Braced code in declaration in rules section;;
+263;regression.at:1089;String alias declared after use;;
+264;regression.at:1112;Extra lookahead sets in report;;
+265;regression.at:1153;Token number in precedence declaration;;
+266;regression.at:1211;parse-gram.y: LALR = IELR;;
+267;regression.at:1232;%error-verbose and YYSTACK_USE_ALLOCA;;
+268;regression.at:1311;%error-verbose overflow;;
+269;regression.at:1421;LAC: Exploratory stack;;
+270;regression.at:1515;LAC: Memory exhaustion;;
+271;regression.at:1664;Lex and parse params: \"yacc.c\";;
+272;regression.at:1665;Lex and parse params: \"glr.c\";;
+273;regression.at:1666;Lex and parse params: \"lalr1.cc\";c++;
+274;regression.at:1667;Lex and parse params: \"glr.cc\";c++;
+275;c++.at:102;Doxygen Public Documentation;;
+276;c++.at:103;Doxygen Private Documentation;;
+277;c++.at:161;Relative namespace references;c++;
+278;c++.at:167;Absolute namespace references;c++;
+279;c++.at:176;Syntactically invalid namespace references;;
+280;java.at:360;Calculator ;java;
+281;java.at:360;Calculator %error-verbose ;java;
+282;java.at:360;Calculator %locations ;java;
+283;java.at:360;Calculator %error-verbose %locations ;java;
+284;java.at:369;Calculator %lex-param { InputStream is } ;java;
+285;java.at:369;Calculator %error-verbose %lex-param { InputStream is } ;java;
+286;java.at:369;Calculator %locations %lex-param { InputStream is } ;java;
+287;java.at:369;Calculator %error-verbose %locations %lex-param { InputStream is } ;java;
+288;java.at:455;Java parser class and package names;java;
+289;java.at:476;Java parser class modifiers;java;
+290;java.at:534;Java parser class extends and implements;java;
+291;java.at:554;Java %parse-param and %lex-param;java;
+292;java.at:628;Java throws specifications;java;
+293;java.at:717;Java stype, position_class and location_class;java;
+294;java.at:748;Java syntax error handling without error token;java;
+295;cxx-type.at:394;GLR: Resolve ambiguity, impure, no locations;;
+296;cxx-type.at:401;GLR: Resolve ambiguity, impure, locations;;
+297;cxx-type.at:407;GLR: Resolve ambiguity, pure, no locations;;
+298;cxx-type.at:414;GLR: Resolve ambiguity, pure, locations;;
+299;cxx-type.at:421;GLR: Merge conflicting parses, impure, no locations;;
+300;cxx-type.at:428;GLR: Merge conflicting parses, impure, locations;;
+301;cxx-type.at:435;GLR: Merge conflicting parses, pure, no locations;;
+302;cxx-type.at:441;GLR: Merge conflicting parses, pure, locations;;
+303;cxx-type.at:448;GLR: Verbose messages, resolve ambiguity, impure, no locations;;
+304;glr-regression.at:25;Badly Collapsed GLR States;;
+305;glr-regression.at:117;Improper handling of embedded actions and dollar(-N) in GLR parsers;;
+306;glr-regression.at:233;Improper merging of GLR delayed action sets;;
+307;glr-regression.at:345;Duplicate representation of merged trees;;
+308;glr-regression.at:436;User destructor for unresolved GLR semantic value;;
+309;glr-regression.at:496;User destructor after an error during a split parse;;
+310;glr-regression.at:550;Duplicated user destructor for lookahead;;
+311;glr-regression.at:639;Incorrectly initialized location for empty right-hand side in GLR;;
+312;glr-regression.at:733;No users destructors if stack 0 deleted;;
+313;glr-regression.at:810;Corrupted semantic options if user action cuts parse;;
+314;glr-regression.at:864;Undesirable destructors if user action cuts parse;;
+315;glr-regression.at:922;Leaked semantic values if user action cuts parse;;
+316;glr-regression.at:1045;Incorrect lookahead during deterministic GLR;;
+317;glr-regression.at:1169;Incorrect lookahead during nondeterministic GLR;;
+318;glr-regression.at:1386;Leaked semantic values when reporting ambiguity;;
+319;glr-regression.at:1468;Leaked lookahead after nondeterministic parse syntax error;;
+320;glr-regression.at:1528;Uninitialized location when reporting ambiguity;;
+321;glr-regression.at:1613;Missed %merge type warnings when LHS type is declared later;;
+322;glr-regression.at:1666;Ambiguity reports;;
+323;push.at:24;Memory Leak for Early Deletion;;
+324;push.at:83;Multiple impure instances;;
+325;push.at:144;Unsupported Skeletons;;
"
# List of the all the test groups.
at_groups_all=`$as_echo "$at_help_all" | sed 's/;.*//'`
for at_grp
do
eval at_value=\$$at_grp
- if test $at_value -lt 1 || test $at_value -gt 315; then
+ if test $at_value -lt 1 || test $at_value -gt 325; then
$as_echo "invalid test group: $at_value" >&2
exit 1
fi
# List of tests.
if $at_list_p; then
cat <<_ATEOF || at_write_fail=1
-GNU Bison 2.6 test suite test groups:
+GNU Bison 2.6.2 test suite test groups:
NUM: FILE-NAME:LINE TEST-GROUP-NAME
KEYWORDS
exit $at_write_fail
fi
if $at_version_p; then
- $as_echo "$as_me (GNU Bison 2.6)" &&
+ $as_echo "$as_me (GNU Bison 2.6.2)" &&
cat <<\_ATEOF || at_write_fail=1
Copyright (C) 2012 Free Software Foundation, Inc.
# Category starts at test group 1.
at_banner_text_1="Input Processing."
# Banner 2. named-refs.at:19
-# Category starts at test group 35.
+# Category starts at test group 37.
at_banner_text_2="Named references tests."
# Banner 3. output.at:18
-# Category starts at test group 47.
+# Category starts at test group 49.
at_banner_text_3="Output file names."
# Banner 4. skeletons.at:18
-# Category starts at test group 82.
+# Category starts at test group 84.
at_banner_text_4="Skeleton Support."
# Banner 5. sets.at:59
-# Category starts at test group 88.
+# Category starts at test group 90.
at_banner_text_5="Grammar Sets (Firsts etc.)."
# Banner 6. reduce.at:18
-# Category starts at test group 92.
+# Category starts at test group 94.
at_banner_text_6="Grammar Reduction."
# Banner 7. synclines.at:19
-# Category starts at test group 118.
+# Category starts at test group 120.
at_banner_text_7="User Actions."
# Banner 8. headers.at:19
-# Category starts at test group 123.
+# Category starts at test group 125.
at_banner_text_8="Parser Headers."
# Banner 9. actions.at:18
-# Category starts at test group 129.
+# Category starts at test group 131.
at_banner_text_9="User Actions."
# Banner 10. conflicts.at:19
-# Category starts at test group 149.
+# Category starts at test group 155.
at_banner_text_10="Conflicts."
-# Banner 11. calc.at:607
-# Category starts at test group 168.
+# Banner 11. calc.at:621
+# Category starts at test group 174.
at_banner_text_11="Simple LALR(1) Calculator."
-# Banner 12. calc.at:647
-# Category starts at test group 186.
+# Banner 12. calc.at:661
+# Category starts at test group 192.
at_banner_text_12="Simple GLR Calculator."
-# Banner 13. calc.at:686
-# Category starts at test group 203.
+# Banner 13. calc.at:700
+# Category starts at test group 209.
at_banner_text_13="Simple LALR(1) C++ Calculator."
-# Banner 14. calc.at:715
-# Category starts at test group 212.
+# Banner 14. calc.at:729
+# Category starts at test group 218.
at_banner_text_14="Simple GLR C++ Calculator."
# Banner 15. torture.at:19
-# Category starts at test group 222.
+# Category starts at test group 228.
at_banner_text_15="Torture Tests."
# Banner 16. existing.at:19
-# Category starts at test group 227.
+# Category starts at test group 233.
at_banner_text_16="Existing Grammars."
# Banner 17. regression.at:18
-# Category starts at test group 236.
+# Category starts at test group 242.
at_banner_text_17="Regression tests."
# Banner 18. c++.at:19
-# Category starts at test group 265.
+# Category starts at test group 275.
at_banner_text_18="C++ Features."
# Banner 19. java.at:18
-# Category starts at test group 270.
+# Category starts at test group 280.
at_banner_text_19="Java Calculator."
# Banner 20. java.at:382
-# Category starts at test group 278.
+# Category starts at test group 288.
at_banner_text_20="Java Parameters."
# Banner 21. cxx-type.at:18
-# Category starts at test group 285.
+# Category starts at test group 295.
at_banner_text_21="C++ Type Syntax (GLR)."
# Banner 22. glr-regression.at:19
-# Category starts at test group 294.
+# Category starts at test group 304.
at_banner_text_22="GLR Regression Tests"
# Banner 23. push.at:18
-# Category starts at test group 313.
+# Category starts at test group 323.
at_banner_text_23="Push Parsing Tests"
# Take any -C into account.
exec 5>>"$at_suite_log"
# Banners and logs.
-$as_echo "## ------------------------- ##
-## GNU Bison 2.6 test suite. ##
-## ------------------------- ##"
+$as_echo "## --------------------------- ##
+## GNU Bison 2.6.2 test suite. ##
+## --------------------------- ##"
{
- $as_echo "## ------------------------- ##
-## GNU Bison 2.6 test suite. ##
-## ------------------------- ##"
+ $as_echo "## --------------------------- ##
+## GNU Bison 2.6.2 test suite. ##
+## --------------------------- ##"
echo
$as_echo "$as_me: command line was:"
$as_echo "Please send $at_msg and all information you think might help:
To: <bug-bison@gnu.org>
- Subject: [GNU Bison 2.6] $as_me: $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}$at_xpass_list${at_xpass_list:+ passed unexpectedly}
+ Subject: [GNU Bison 2.6.2] $as_me: $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}$at_xpass_list${at_xpass_list:+ passed unexpectedly}
You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point. Its output may
#AT_STOP_12
#AT_START_13
at_fn_group_banner 13 'input.at:587' \
- "Require 2.6" " " 1
+ "Require 2.6.2" " " 1
at_xfail=no
(
$as_echo "13. $at_setup_line: testing $at_desc ..."
#undef realloc
}
-%require "2.6";
+%require "2.6.2";
%%
empty_file:;
_ATEOF
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
read at_status <"$at_status_file"
#AT_STOP_34
#AT_START_35
-at_fn_group_banner 35 'named-refs.at:21' \
- "Tutorial calculator" " " 2
+at_fn_group_banner 35 'input.at:1378' \
+ "Stray \$ or @" " " 1
at_xfail=no
(
$as_echo "35. $at_setup_line: testing $at_desc ..."
$at_traceon
-cat >test.y <<'_ATEOF'
-%code top {
-#include <config.h>
-/* We don't need perfect functions for these tests. */
-#undef malloc
-#undef memcmp
-#undef realloc
-}
-
-
-%{
-#include <assert.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
-typedef int semantic_value;
-FILE *input;
-static semantic_value global_result = 0;
-static int global_count = 0;
-static int power (int base, int exponent);
-static void yyerror (const char *msg);
-static int yylex (void);
-%}
-
-%union
-{
- semantic_value ival;
-};
-
-%token CALC_EOF 0 "end of input"
-%token <ival> NUM "number"
-%type <ival> exp
-
-%nonassoc '=' /* comparison */
-%left '-' '+'
-%left '*' '/'
-%left NEG /* negation--unary minus */
-%right '^' /* exponentiation */
-
-%%
-input:
- line
-| input line { }
-;
-
-line:
- '\n'
-| exp '\n' { }
-;
-
-exp:
- NUM { $$ = $NUM; }
-| exp[l] '=' exp[r]
- {
- if ($l != $r)
- fprintf (stderr, "calc: error: %d != %d\n", $l, $r);
- $$ = $l;
- }
-| exp[x] '+' { $<ival>$ = $x; } [l] exp[r] { $$ = $<ival>l + $r; }
-| exp[l] '-' exp[r] { $$ = $l - $r; }
-| exp[l] '*' exp[r] { $$ = $l * $r; }
-| exp[l] '/' exp[r] { $$ = $l / $r; }
-| '-' exp %prec NEG { $$ = -$2; }
-| exp[l] '^' exp[r] { $$ = power ($l, $r); }
-| '(' exp[e] ')' { $$ = $e; }
-| '(' error ')' { $$ = 1111; yyerrok; }
-| '!' { $$ = 0; YYERROR; }
-| '-' error { $$ = 0; YYERROR; }
-;
-%%
-#include <stdio.h>
-/* A C error reporting function. */
-static
-void yyerror (const char *msg)
-{
-
- fprintf (stderr, "%s\n", msg);
-}
-static int get_char (void)
-{
- int res = getc (input);
- return res;
-}
-
-static void unget_char (int c)
-{
- ungetc (c, input);
-}
-
-static int read_signed_integer (void)
-{
- int c = get_char ();
- int sign = 1;
- int n = 0;
- if (c == '-')
- {
- c = get_char ();
- sign = -1;
- }
- while (isdigit (c))
- {
- n = 10 * n + (c - '0');
- c = get_char ();
- }
- unget_char ( c);
- return sign * n;
-}
-
-static int
-yylex (void)
-{
- int c;
- /* Skip white space. */
- while ((c = get_char ()) == ' ' || c == '\t') {}
+# Give %printer and %destructor "<*> exp TOK" instead of "<*>" to
+# check that the warnings are reported once, not three times.
- /* process numbers */
- if (c == '.' || isdigit (c))
- {
- unget_char ( c);
- (yylval).ival = read_signed_integer ();
- return NUM;
- }
-
- /* Return end-of-file. */
- if (c == EOF)
- return CALC_EOF;
-
- /* Return single chars. */
- return c;
-}
-
-static int power (int base, int exponent)
-{
- int res = 1;
- assert (0 <= exponent);
- for (/* Niente */; exponent; --exponent)
- res *= base;
- return res;
-}
-
-int main (int argc, const char **argv)
-{
- semantic_value result = 0;
- int count = 0;
- int status;
- if (argc == 2)
- input = fopen (argv[1], "r");
- else
- input = stdin;
- if (!input)
- {
- perror (argv[1]);
- return 3;
- }
- status = yyparse ();
- fclose (input);
- assert (global_result == result);
- assert (global_count == count);
- return status;
-}
-_ATEOF
-
-
-
-cat >input.txt <<'_ATEOF'
-
-1 + 2 * 3 = 7
-1 + 2 * -3 = -5
--1^2 = -1
-(-1)^2 = 1
----1 = -1
-1 - 2 - 3 = -4
-1 - (2 - 3) = 2
-2^2^3 = 256
-(2^2)^3 = 64
-_ATEOF
-
-
-if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
- at_save_special_files
- mkdir xml-tests
- # Don't combine these Bison invocations since we want to be sure that
- # --report=all isn't required to get the full XML file.
- { set +x
-$as_echo "$at_srcdir/named-refs.at:184: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
- --graph=xml-tests/test.dot -o test.c test.y"
-at_fn_check_prepare_notrace 'an embedded newline' "named-refs.at:184"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
- --graph=xml-tests/test.dot -o test.c test.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:184"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- { set +x
-$as_echo "$at_srcdir/named-refs.at:184: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o test.c test.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o test.c test.y" "named-refs.at:184"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o test.c test.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:184"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- cp xml-tests/test.output expout
- { set +x
-$as_echo "$at_srcdir/named-refs.at:184: \$XSLTPROC \\
- \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
- xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "named-refs.at:184"
-( $at_check_trace; $XSLTPROC \
- `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
- xml-tests/test.xml
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:184"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- cp xml-tests/test.dot expout
- { set +x
-$as_echo "$at_srcdir/named-refs.at:184: \$XSLTPROC \\
- \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
- xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "named-refs.at:184"
-( $at_check_trace; $XSLTPROC \
- `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
- xml-tests/test.xml
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:184"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- rm -rf xml-tests expout
- at_restore_special_files
-fi
-{ set +x
-$as_echo "$at_srcdir/named-refs.at:184: bison -o test.c test.y"
-at_fn_check_prepare_trace "named-refs.at:184"
-( $at_check_trace; bison -o test.c test.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:184"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-
-{ set +x
-$as_echo "$at_srcdir/named-refs.at:185: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o test test.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o test test.c $LIBS" "named-refs.at:185"
-( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o test test.c $LIBS
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:185"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-{ set +x
-$as_echo "$at_srcdir/named-refs.at:186: \$PREPARSER ./test input.txt"
-at_fn_check_prepare_dynamic " $PREPARSER ./test input.txt" "named-refs.at:186"
-( $at_check_trace; $PREPARSER ./test input.txt
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; tee stderr <"$at_stderr"
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:186"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-{ set +x
-$as_echo "$at_srcdir/named-refs.at:186: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "named-refs.at:186"
-( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; tee stderr <"$at_stderr"
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:186"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-
-
- set +x
- $at_times_p && times >"$at_times_file"
-) 5>&1 2>&1 7>&- | eval $at_tee_pipe
-read at_status <"$at_status_file"
-#AT_STOP_35
-#AT_START_36
-at_fn_group_banner 36 'named-refs.at:195' \
- "Undefined and ambiguous references" " " 2
-at_xfail=no
-(
- $as_echo "36. $at_setup_line: testing $at_desc ..."
- $at_traceon
-
-
-cat >test.y <<'_ATEOF'
+cat >input.y <<'_ATEOF'
%code top {
#include <config.h>
/* We don't need perfect functions for these tests. */
#undef realloc
}
-
-%{
-static int power (int base, int exponent);
-static void yyerror (const char *msg);
-static int yylex (void);
-%}
-
-%union
-{
- int ival;
-};
-
-%token CALC_EOF 0 "end of input"
-%token <ival> NUM "number"
-%type <ival> exp
-
-%nonassoc '=' /* comparison */
-%left '-' '+'
-%left '*' '/'
-%left NEG /* negation--unary minus */
-%right '^' /* exponentiation */
-
-%%
-input:
- line
-| input line { }
-;
-
-line:
- '\n'
-| exp '\n' { }
-;
-
-exp:
- NUM { $$ = $NUM; }
-| exp[l] '=' exp[r]
- {
- if ($l != $r)
- fprintf (stderr, "calc: error: %d != %d\n", $l, $r);
- $$ = $l;
- }
-| exp[x] '+' { $<ival>$ = $x; } [l] exp[r] { $$ = $<ival>lo9 + $r; }
-| exp[x] '-' { $<ival>$ = $x; } [l] exp[r] { $$ = $<ival>exp - $r; }
-| exp[x] '*' { $<ival>$ = $x; } [l] exp[r] { $$ = $l * $r; }
-| exp[l] '/' exp[r] { $$ = $l / $r; }
-| '-' exp %prec NEG { $$ = -$2; }
-| exp[l] '^' exp[r] { $$ = power ($l, $r12); }
-| '(' exp ')' { $$ = $expo; }
-| '(' error ')' { $$ = 1111; yyerrok; }
-| '!' { $$ = 0; YYERROR; }
-| '-' error { $$ = 0; YYERROR; }
-;
+%token TOK
+%destructor { $%; @%; } <*> exp TOK;
+%initial-action { $%; @%; };
+%printer { $%; @%; } <*> exp TOK;
%%
+exp: TOK { $%; @%; $$ = $1; };
_ATEOF
-
-{ set +x
-$as_echo "$at_srcdir/named-refs.at:253: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o test.c test.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o test.c test.y" "named-refs.at:253"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -o test.c test.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo >>"$at_stderr"; $as_echo "test.y:50.51-60: invalid reference: '\$<ival>lo9'
-test.y:50.3-68: symbol not found in production: lo9
-test.y:51.51-60: warning: misleading reference: '\$<ival>exp'
-test.y:42.1-3: warning: refers to: \$exp at \$\$
-test.y:51.7: warning: possibly meant: \$x, hiding \$exp at \$1
-test.y:51.41: warning: possibly meant: \$r, hiding \$exp at \$4
-test.y:52.51-52: \$l of 'exp' has no declared type
-test.y:55.46-49: invalid reference: '\$r12'
-test.y:55.3-53: symbol not found in production: r12
-test.y:56.29-33: invalid reference: '\$expo'
-test.y:56.3-46: symbol not found in production: expo
-" | \
- $at_diff - "$at_stderr" || at_failed=:
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/named-refs.at:253"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-
-
- set +x
- $at_times_p && times >"$at_times_file"
-) 5>&1 2>&1 7>&- | eval $at_tee_pipe
-read at_status <"$at_status_file"
-#AT_STOP_36
-#AT_START_37
-at_fn_group_banner 37 'named-refs.at:271' \
- "Misleading references" " " 2
-at_xfail=no
-(
- $as_echo "37. $at_setup_line: testing $at_desc ..."
- $at_traceon
-
-cat >test.y <<'_ATEOF'
-%code top {
-#include <config.h>
-/* We don't need perfect functions for these tests. */
-#undef malloc
-#undef memcmp
-#undef realloc
-}
-
-
-%%
-start: foo foo.bar { $foo.bar; }
-foo: '1'
-foo.bar: '2'
-_ATEOF
-
-
if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
at_save_special_files
mkdir xml-tests
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/named-refs.at:279: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
- --graph=xml-tests/test.dot -o test.c test.y"
-at_fn_check_prepare_notrace 'an embedded newline' "named-refs.at:279"
+$as_echo "$at_srcdir/input.at:1392: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "input.at:1392"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
- --graph=xml-tests/test.dot -o test.c test.y
+ --graph=xml-tests/test.dot input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:279"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1392"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/named-refs.at:279: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o test.c test.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o test.c test.y" "named-refs.at:279"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o test.c test.y
+$as_echo "$at_srcdir/input.at:1392: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml input.y" "input.at:1392"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:279"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1392"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/named-refs.at:279: \$XSLTPROC \\
+$as_echo "$at_srcdir/input.at:1392: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "named-refs.at:279"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1392"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:279"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1392"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/named-refs.at:279: \$XSLTPROC \\
+$as_echo "$at_srcdir/input.at:1392: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "named-refs.at:279"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1392"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:279"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1392"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/named-refs.at:279: bison -o test.c test.y"
-at_fn_check_prepare_trace "named-refs.at:279"
-( $at_check_trace; bison -o test.c test.y
+$as_echo "$at_srcdir/input.at:1392: bison input.y"
+at_fn_check_prepare_trace "input.at:1392"
+( $at_check_trace; bison input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
-echo >>"$at_stderr"; $as_echo "test.y:11.22-29: warning: misleading reference: '\$foo.bar'
-test.y:11.8-10: warning: refers to: \$foo at \$1
-test.y:11.12-18: warning: possibly meant: \$[foo.bar] at \$2
+echo >>"$at_stderr"; $as_echo "input.y:10.19: warning: stray '\$'
+input.y:10.23: warning: stray '@'
+input.y:11.19: warning: stray '\$'
+input.y:11.23: warning: stray '@'
+input.y:12.19: warning: stray '\$'
+input.y:12.23: warning: stray '@'
+input.y:14.19: warning: stray '\$'
+input.y:14.23: warning: stray '@'
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:279"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1392"
$at_failed && at_fn_log_failure
$at_traceon; }
# Run with -Werror.
{ set +x
-$as_echo "$at_srcdir/named-refs.at:279: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o test.c test.y -Werror"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o test.c test.y -Werror" "named-refs.at:279"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -o test.c test.y -Werror
+$as_echo "$at_srcdir/input.at:1392: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison input.y -Werror"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison input.y -Werror" "input.at:1392"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input.y -Werror
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/named-refs.at:279"
+at_fn_check_status 1 $at_status "$at_srcdir/input.at:1392"
$at_failed && at_fn_log_failure
$at_traceon; }
# Build expected stderr up to and including the "warnings being
# treated as errors" message.
cat >at-bison-check-warnings <<'_ATEOF'
-test.y:11.22-29: warning: misleading reference: '$foo.bar'
-test.y:11.8-10: warning: refers to: $foo at $1
-test.y:11.12-18: warning: possibly meant: $[foo.bar] at $2
+input.y:10.19: warning: stray '$'
+input.y:10.23: warning: stray '@'
+input.y:11.19: warning: stray '$'
+input.y:11.23: warning: stray '@'
+input.y:12.19: warning: stray '$'
+input.y:12.23: warning: stray '@'
+input.y:14.19: warning: stray '$'
+input.y:14.23: warning: stray '@'
+_ATEOF
+
+ at_bison_check_first=`sed -n \
+ '/: warning: /{=;q;}' at-bison-check-warnings`
+ : ${at_bison_check_first:=1}
+ at_bison_check_first_tmp=`sed -n \
+ '/conflicts: [0-9].*reduce$/{=;q;}' at-bison-check-warnings`
+ : ${at_bison_check_first_tmp:=1}
+ if test $at_bison_check_first_tmp -lt $at_bison_check_first; then
+ at_bison_check_first=$at_bison_check_first_tmp
+ fi
+ if test $at_bison_check_first -gt 1; then
+ sed -n "1,`expr $at_bison_check_first - 1`"p \
+ at-bison-check-warnings > experr
+ fi
+ echo 'bison: warnings being treated as errors' >> experr
+
+ # Finish building expected stderr and check. Unlike warnings,
+ # complaints cause bison to exit early. Thus, with -Werror, bison
+ # does not necessarily report all warnings that it does without
+ # -Werror, but it at least reports one.
+ at_bison_check_last=`sed -n '$=' stderr`
+ : ${at_bison_check_last:=1}
+ at_bison_check_last=`expr $at_bison_check_last - 1`
+ sed -n "$at_bison_check_first,$at_bison_check_last"p \
+ at-bison-check-warnings >> experr
+ { set +x
+$as_echo "$at_srcdir/input.at:1392: sed 's,.*/\\(bison: warnings being treated as errors\\)\$,\\1,' \\
+ stderr 1>&2"
+at_fn_check_prepare_notrace 'an embedded newline' "input.at:1392"
+( $at_check_trace; sed 's,.*/\(bison: warnings being treated as errors\)$,\1,' \
+ stderr 1>&2
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+$at_diff experr "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1392"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+ # Now check --warnings=error.
+ cp stderr experr
+ { set +x
+$as_echo "$at_srcdir/input.at:1392: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison input.y --warnings=error"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison input.y --warnings=error" "input.at:1392"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input.y --warnings=error
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+$at_diff experr "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 1 $at_status "$at_srcdir/input.at:1392"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+ # Now check -Wnone and --warnings=none by making sure that
+ # -Werror doesn't change the exit status when -Wnone or
+ # --warnings=none is specified.
+ { set +x
+$as_echo "$at_srcdir/input.at:1392: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison input.y -Wnone -Werror"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison input.y -Wnone -Werror" "input.at:1392"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input.y -Wnone -Werror
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1392"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/input.at:1392: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison input.y --warnings=none -Werror"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison input.y --warnings=none -Werror" "input.at:1392"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input.y --warnings=none -Werror
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1392"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+ at_restore_special_files
+fi
+
+ set +x
+ $at_times_p && times >"$at_times_file"
+) 5>&1 2>&1 7>&- | eval $at_tee_pipe
+read at_status <"$at_status_file"
+#AT_STOP_35
+#AT_START_36
+at_fn_group_banner 36 'input.at:1412' \
+ "Code injection" " " 1
+at_xfail=no
+(
+ $as_echo "36. $at_setup_line: testing $at_desc ..."
+ $at_traceon
+
+
+
+
+# AT_TEST([MACRO])
+# ----------------
+# Try to have MACRO be run by bison.
+
+
+cat >input.y <<'_ATEOF'
+%type <m4_errprintn(DEAD %type)> exp
+%token <m4_errprintn(DEAD %token)> a
+%initial-action
+{
+ $$;
+ $<m4_errprintn(DEAD %initial-action)>$
+};
+%printer
+{
+ $$
+ $<m4_errprintn(DEAD %printer)>$
+} <> <*>;
+%lex-param
+{
+ m4_errprintn(DEAD %lex-param)
+};
+%parse-param
+{
+ m4_errprintn(DEAD %parse-param)
+};
+%%
+exp:
+ a a[last]
+ {
+ $$;
+ $1;
+ $<m4_errprintn(DEAD action 1)>$
+ $<m4_errprintn(DEAD action 2)>1
+ $<m4_errprintn(DEAD action 3)>last
+ $<m4_errprintn(DEAD action 4)>0
+ ;
+ };
+_ATEOF
+
+
+# FIXME: Provide a means to iterate over all the skeletons.
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -d input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "input.at:1463"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -d input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d input.y" "input.at:1463"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1463"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1463"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/input.at:1463: bison -d input.y"
+at_fn_check_prepare_trace "input.at:1463"
+( $at_check_trace; bison -d input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -d -S glr.c input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "input.at:1463"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -d -S glr.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S glr.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S glr.c input.y" "input.at:1463"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S glr.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1463"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1463"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/input.at:1463: bison -d -S glr.c input.y"
+at_fn_check_prepare_trace "input.at:1463"
+( $at_check_trace; bison -d -S glr.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -d -S lalr1.cc input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "input.at:1463"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -d -S lalr1.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S lalr1.cc input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S lalr1.cc input.y" "input.at:1463"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S lalr1.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1463"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1463"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/input.at:1463: bison -d -S lalr1.cc input.y"
+at_fn_check_prepare_trace "input.at:1463"
+( $at_check_trace; bison -d -S lalr1.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -d -S glr.cc input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "input.at:1463"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -d -S glr.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S glr.cc input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S glr.cc input.y" "input.at:1463"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S glr.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1463"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1463"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/input.at:1463: bison -d -S glr.cc input.y"
+at_fn_check_prepare_trace "input.at:1463"
+( $at_check_trace; bison -d -S glr.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -S lalr1.java input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "input.at:1463"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -S lalr1.java input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -S lalr1.java input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -S lalr1.java input.y" "input.at:1463"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -S lalr1.java input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1463"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1463: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1463"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/input.at:1463: bison -S lalr1.java input.y"
+at_fn_check_prepare_trace "input.at:1463"
+( $at_check_trace; bison -S lalr1.java input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1463"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+cat >input.y <<'_ATEOF'
+%type <]m4_errprintn(DEAD %type)> exp
+%token <]m4_errprintn(DEAD %token)> a
+%initial-action
+{
+ $$;
+ $<]m4_errprintn(DEAD %initial-action)>$
+};
+%printer
+{
+ $$
+ $<]m4_errprintn(DEAD %printer)>$
+} <> <*>;
+%lex-param
+{
+ ]m4_errprintn(DEAD %lex-param)
+};
+%parse-param
+{
+ ]m4_errprintn(DEAD %parse-param)
+};
+%%
+exp:
+ a a[last]
+ {
+ $$;
+ $1;
+ $<]m4_errprintn(DEAD action 1)>$
+ $<]m4_errprintn(DEAD action 2)>1
+ $<]m4_errprintn(DEAD action 3)>last
+ $<]m4_errprintn(DEAD action 4)>0
+ ;
+ };
+_ATEOF
+
+
+# FIXME: Provide a means to iterate over all the skeletons.
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -d input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "input.at:1464"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -d input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d input.y" "input.at:1464"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1464"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1464"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/input.at:1464: bison -d input.y"
+at_fn_check_prepare_trace "input.at:1464"
+( $at_check_trace; bison -d input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -d -S glr.c input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "input.at:1464"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -d -S glr.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S glr.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S glr.c input.y" "input.at:1464"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S glr.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1464"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1464"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/input.at:1464: bison -d -S glr.c input.y"
+at_fn_check_prepare_trace "input.at:1464"
+( $at_check_trace; bison -d -S glr.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -d -S lalr1.cc input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "input.at:1464"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -d -S lalr1.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S lalr1.cc input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S lalr1.cc input.y" "input.at:1464"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S lalr1.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1464"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1464"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/input.at:1464: bison -d -S lalr1.cc input.y"
+at_fn_check_prepare_trace "input.at:1464"
+( $at_check_trace; bison -d -S lalr1.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -d -S glr.cc input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "input.at:1464"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -d -S glr.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S glr.cc input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S glr.cc input.y" "input.at:1464"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -d -S glr.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1464"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1464"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/input.at:1464: bison -d -S glr.cc input.y"
+at_fn_check_prepare_trace "input.at:1464"
+( $at_check_trace; bison -d -S glr.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -S lalr1.java input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "input.at:1464"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -S lalr1.java input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -S lalr1.java input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -S lalr1.java input.y" "input.at:1464"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -S lalr1.java input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1464"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/input.at:1464: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "input.at:1464"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/input.at:1464: bison -S lalr1.java input.y"
+at_fn_check_prepare_trace "input.at:1464"
+( $at_check_trace; bison -S lalr1.java input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/input.at:1464"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+
+
+
+ set +x
+ $at_times_p && times >"$at_times_file"
+) 5>&1 2>&1 7>&- | eval $at_tee_pipe
+read at_status <"$at_status_file"
+#AT_STOP_36
+#AT_START_37
+at_fn_group_banner 37 'named-refs.at:21' \
+ "Tutorial calculator" " " 2
+at_xfail=no
+(
+ $as_echo "37. $at_setup_line: testing $at_desc ..."
+ $at_traceon
+
+
+cat >test.y <<'_ATEOF'
+%code top {
+#include <config.h>
+/* We don't need perfect functions for these tests. */
+#undef malloc
+#undef memcmp
+#undef realloc
+}
+
+
+%{
+#include <assert.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <ctype.h>
+typedef int semantic_value;
+FILE *input;
+static semantic_value global_result = 0;
+static int global_count = 0;
+static int power (int base, int exponent);
+static void yyerror (const char *msg);
+static int yylex (void);
+%}
+
+%union
+{
+ semantic_value ival;
+};
+
+%token CALC_EOF 0 "end of input"
+%token <ival> NUM "number"
+%type <ival> exp
+
+%nonassoc '=' /* comparison */
+%left '-' '+'
+%left '*' '/'
+%left NEG /* negation--unary minus */
+%right '^' /* exponentiation */
+
+%%
+input:
+ line
+| input line { }
+;
+
+line:
+ '\n'
+| exp '\n' { }
+;
+
+exp:
+ NUM { $$ = $NUM; }
+| exp[l] '=' exp[r]
+ {
+ if ($l != $r)
+ fprintf (stderr, "calc: error: %d != %d\n", $l, $r);
+ $$ = $l;
+ }
+| exp[x] '+' { $<ival>$ = $x; } [l] exp[r] { $$ = $<ival>l + $r; }
+| exp[l] '-' exp[r] { $$ = $l - $r; }
+| exp[l] '*' exp[r] { $$ = $l * $r; }
+| exp[l] '/' exp[r] { $$ = $l / $r; }
+| '-' exp %prec NEG { $$ = -$2; }
+| exp[l] '^' exp[r] { $$ = power ($l, $r); }
+| '(' exp[e] ')' { $$ = $e; }
+| '(' error ')' { $$ = 1111; yyerrok; }
+| '!' { $$ = 0; YYERROR; }
+| '-' error { $$ = 0; YYERROR; }
+;
+%%
+#include <stdio.h>
+/* A C error reporting function. */
+static
+void yyerror (const char *msg)
+{
+
+ fprintf (stderr, "%s\n", msg);
+}
+static int get_char (void)
+{
+ int res = getc (input);
+ return res;
+}
+
+static void unget_char (int c)
+{
+ ungetc (c, input);
+}
+
+static int read_signed_integer (void)
+{
+ int c = get_char ();
+ int sign = 1;
+ int n = 0;
+ if (c == '-')
+ {
+ c = get_char ();
+ sign = -1;
+ }
+ while (isdigit (c))
+ {
+ n = 10 * n + (c - '0');
+ c = get_char ();
+ }
+ unget_char ( c);
+ return sign * n;
+}
+
+static int
+yylex (void)
+{
+ int c;
+ /* Skip white space. */
+ while ((c = get_char ()) == ' ' || c == '\t') {}
+
+ /* process numbers */
+ if (c == '.' || isdigit (c))
+ {
+ unget_char ( c);
+ (yylval).ival = read_signed_integer ();
+ return NUM;
+ }
+
+ /* Return end-of-file. */
+ if (c == EOF)
+ return CALC_EOF;
+
+ /* Return single chars. */
+ return c;
+}
+
+static int power (int base, int exponent)
+{
+ int res = 1;
+ assert (0 <= exponent);
+ for (/* Niente */; exponent; --exponent)
+ res *= base;
+ return res;
+}
+
+int main (int argc, const char **argv)
+{
+ semantic_value result = 0;
+ int count = 0;
+ int status;
+ if (argc == 2)
+ input = fopen (argv[1], "r");
+ else
+ input = stdin;
+ if (!input)
+ {
+ perror (argv[1]);
+ return 3;
+ }
+ status = yyparse ();
+ fclose (input);
+ assert (global_result == result);
+ assert (global_count == count);
+ return status;
+}
+_ATEOF
+
+
+
+cat >input.txt <<'_ATEOF'
+
+1 + 2 * 3 = 7
+1 + 2 * -3 = -5
+-1^2 = -1
+(-1)^2 = 1
+---1 = -1
+1 - 2 - 3 = -4
+1 - (2 - 3) = 2
+2^2^3 = 256
+(2^2)^3 = 64
+_ATEOF
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/named-refs.at:184: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -o test.c test.y"
+at_fn_check_prepare_notrace 'an embedded newline' "named-refs.at:184"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -o test.c test.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:184"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/named-refs.at:184: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o test.c test.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o test.c test.y" "named-refs.at:184"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o test.c test.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:184"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/named-refs.at:184: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "named-refs.at:184"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:184"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/named-refs.at:184: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "named-refs.at:184"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:184"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/named-refs.at:184: bison -o test.c test.y"
+at_fn_check_prepare_trace "named-refs.at:184"
+( $at_check_trace; bison -o test.c test.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:184"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+{ set +x
+$as_echo "$at_srcdir/named-refs.at:185: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o test test.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o test test.c $LIBS" "named-refs.at:185"
+( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o test test.c $LIBS
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:185"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+{ set +x
+$as_echo "$at_srcdir/named-refs.at:186: \$PREPARSER ./test input.txt"
+at_fn_check_prepare_dynamic " $PREPARSER ./test input.txt" "named-refs.at:186"
+( $at_check_trace; $PREPARSER ./test input.txt
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; tee stderr <"$at_stderr"
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:186"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+{ set +x
+$as_echo "$at_srcdir/named-refs.at:186: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "named-refs.at:186"
+( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; tee stderr <"$at_stderr"
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:186"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+ set +x
+ $at_times_p && times >"$at_times_file"
+) 5>&1 2>&1 7>&- | eval $at_tee_pipe
+read at_status <"$at_status_file"
+#AT_STOP_37
+#AT_START_38
+at_fn_group_banner 38 'named-refs.at:195' \
+ "Undefined and ambiguous references" " " 2
+at_xfail=no
+(
+ $as_echo "38. $at_setup_line: testing $at_desc ..."
+ $at_traceon
+
+
+cat >test.y <<'_ATEOF'
+%code top {
+#include <config.h>
+/* We don't need perfect functions for these tests. */
+#undef malloc
+#undef memcmp
+#undef realloc
+}
+
+
+%{
+static int power (int base, int exponent);
+static void yyerror (const char *msg);
+static int yylex (void);
+%}
+
+%union
+{
+ int ival;
+};
+
+%token CALC_EOF 0 "end of input"
+%token <ival> NUM "number"
+%type <ival> exp
+
+%nonassoc '=' /* comparison */
+%left '-' '+'
+%left '*' '/'
+%left NEG /* negation--unary minus */
+%right '^' /* exponentiation */
+
+%%
+input:
+ line
+| input line { }
+;
+
+line:
+ '\n'
+| exp '\n' { }
+;
+
+exp:
+ NUM { $$ = $NUM; }
+| exp[l] '=' exp[r]
+ {
+ if ($l != $r)
+ fprintf (stderr, "calc: error: %d != %d\n", $l, $r);
+ $$ = $l;
+ }
+| exp[x] '+' { $<ival>$ = $x; } [l] exp[r] { $$ = $<ival>lo9 + $r; }
+| exp[x] '-' { $<ival>$ = $x; } [l] exp[r] { $$ = $<ival>exp - $r; }
+| exp[x] '*' { $<ival>$ = $x; } [l] exp[r] { $$ = $l * $r; }
+| exp[l] '/' exp[r] { $$ = $l / $r; }
+| '-' exp %prec NEG { $$ = -$2; }
+| exp[l] '^' exp[r] { $$ = power ($l, $r12); }
+| '(' exp ')' { $$ = $expo; }
+| '(' error ')' { $$ = 1111; yyerrok; }
+| '!' { $$ = 0; YYERROR; }
+| '-' error { $$ = 0; YYERROR; }
+;
+%%
+_ATEOF
+
+
+
+
+{ set +x
+$as_echo "$at_srcdir/named-refs.at:253: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o test.c test.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o test.c test.y" "named-refs.at:253"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -o test.c test.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo >>"$at_stderr"; $as_echo "test.y:50.51-60: invalid reference: '\$<ival>lo9'
+test.y:50.3-68: symbol not found in production: lo9
+test.y:51.51-60: warning: misleading reference: '\$<ival>exp'
+test.y:42.1-3: warning: refers to: \$exp at \$\$
+test.y:51.7: warning: possibly meant: \$x, hiding \$exp at \$1
+test.y:51.41: warning: possibly meant: \$r, hiding \$exp at \$4
+test.y:52.51-52: \$l of 'exp' has no declared type
+test.y:55.46-49: invalid reference: '\$r12'
+test.y:55.3-53: symbol not found in production: r12
+test.y:56.29-33: invalid reference: '\$expo'
+test.y:56.3-46: symbol not found in production: expo
+" | \
+ $at_diff - "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 1 $at_status "$at_srcdir/named-refs.at:253"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+ set +x
+ $at_times_p && times >"$at_times_file"
+) 5>&1 2>&1 7>&- | eval $at_tee_pipe
+read at_status <"$at_status_file"
+#AT_STOP_38
+#AT_START_39
+at_fn_group_banner 39 'named-refs.at:271' \
+ "Misleading references" " " 2
+at_xfail=no
+(
+ $as_echo "39. $at_setup_line: testing $at_desc ..."
+ $at_traceon
+
+cat >test.y <<'_ATEOF'
+%code top {
+#include <config.h>
+/* We don't need perfect functions for these tests. */
+#undef malloc
+#undef memcmp
+#undef realloc
+}
+
+
+%%
+start: foo foo.bar { $foo.bar; }
+foo: '1'
+foo.bar: '2'
+_ATEOF
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/named-refs.at:279: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -o test.c test.y"
+at_fn_check_prepare_notrace 'an embedded newline' "named-refs.at:279"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -o test.c test.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:279"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/named-refs.at:279: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o test.c test.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o test.c test.y" "named-refs.at:279"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o test.c test.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:279"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/named-refs.at:279: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "named-refs.at:279"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:279"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/named-refs.at:279: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "named-refs.at:279"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:279"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/named-refs.at:279: bison -o test.c test.y"
+at_fn_check_prepare_trace "named-refs.at:279"
+( $at_check_trace; bison -o test.c test.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo >>"$at_stderr"; $as_echo "test.y:11.22-29: warning: misleading reference: '\$foo.bar'
+test.y:11.8-10: warning: refers to: \$foo at \$1
+test.y:11.12-18: warning: possibly meant: \$[foo.bar] at \$2
+" | \
+ $at_diff - "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/named-refs.at:279"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# Defining POSIXLY_CORRECT causes bison to complain if options
+# are added after the grammar file name, so skip these checks
+# in that case.
+if test -z "${POSIXLY_CORRECT+set}"; then
+ at_save_special_files
+
+ # To avoid expanding it repeatedly, store specified stdout.
+ : >expout
+
+ # Run with -Werror.
+ { set +x
+$as_echo "$at_srcdir/named-refs.at:279: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o test.c test.y -Werror"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o test.c test.y -Werror" "named-refs.at:279"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -o test.c test.y -Werror
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; tee stderr <"$at_stderr"
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 1 $at_status "$at_srcdir/named-refs.at:279"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+ # Build expected stderr up to and including the "warnings being
+ # treated as errors" message.
+ cat >at-bison-check-warnings <<'_ATEOF'
+test.y:11.22-29: warning: misleading reference: '$foo.bar'
+test.y:11.8-10: warning: refers to: $foo at $1
+test.y:11.12-18: warning: possibly meant: $[foo.bar] at $2
_ATEOF
at_bison_check_first=`sed -n \
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_37
-#AT_START_38
-at_fn_group_banner 38 'named-refs.at:288' \
+#AT_STOP_39
+#AT_START_40
+at_fn_group_banner 40 'named-refs.at:288' \
"Many kinds of errors" " " 2
at_xfail=no
(
- $as_echo "38. $at_setup_line: testing $at_desc ..."
+ $as_echo "40. $at_setup_line: testing $at_desc ..."
$at_traceon
cat >test.y <<'_ATEOF'
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_38
-#AT_START_39
-at_fn_group_banner 39 'named-refs.at:400' \
+#AT_STOP_40
+#AT_START_41
+at_fn_group_banner 41 'named-refs.at:400' \
"Missing identifiers in brackets" " " 2
at_xfail=no
(
- $as_echo "39. $at_setup_line: testing $at_desc ..."
+ $as_echo "41. $at_setup_line: testing $at_desc ..."
$at_traceon
cat >test.y <<'_ATEOF'
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_39
-#AT_START_40
-at_fn_group_banner 40 'named-refs.at:414' \
+#AT_STOP_41
+#AT_START_42
+at_fn_group_banner 42 'named-refs.at:414' \
"Redundant words in brackets" " " 2
at_xfail=no
(
- $as_echo "40. $at_setup_line: testing $at_desc ..."
+ $as_echo "42. $at_setup_line: testing $at_desc ..."
$at_traceon
cat >test.y <<'_ATEOF'
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_40
-#AT_START_41
-at_fn_group_banner 41 'named-refs.at:428' \
+#AT_STOP_42
+#AT_START_43
+at_fn_group_banner 43 'named-refs.at:428' \
"Comments in brackets" " " 2
at_xfail=no
(
- $as_echo "41. $at_setup_line: testing $at_desc ..."
+ $as_echo "43. $at_setup_line: testing $at_desc ..."
$at_traceon
cat >test.y <<'_ATEOF'
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_41
-#AT_START_42
-at_fn_group_banner 42 'named-refs.at:442' \
+#AT_STOP_43
+#AT_START_44
+at_fn_group_banner 44 'named-refs.at:442' \
"Stray symbols in brackets" " " 2
at_xfail=no
(
- $as_echo "42. $at_setup_line: testing $at_desc ..."
+ $as_echo "44. $at_setup_line: testing $at_desc ..."
$at_traceon
cat >test.y <<'_ATEOF'
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_42
-#AT_START_43
-at_fn_group_banner 43 'named-refs.at:459' \
+#AT_STOP_44
+#AT_START_45
+at_fn_group_banner 45 'named-refs.at:459' \
"Redundant words in LHS brackets" " " 2
at_xfail=no
(
- $as_echo "43. $at_setup_line: testing $at_desc ..."
+ $as_echo "45. $at_setup_line: testing $at_desc ..."
$at_traceon
cat >test.y <<'_ATEOF'
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_43
-#AT_START_44
-at_fn_group_banner 44 'named-refs.at:474' \
+#AT_STOP_45
+#AT_START_46
+at_fn_group_banner 46 'named-refs.at:474' \
"Factored LHS" " " 2
at_xfail=no
(
- $as_echo "44. $at_setup_line: testing $at_desc ..."
+ $as_echo "46. $at_setup_line: testing $at_desc ..."
$at_traceon
cat >test.y <<'_ATEOF'
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_44
-#AT_START_45
-at_fn_group_banner 45 'named-refs.at:485' \
+#AT_STOP_46
+#AT_START_47
+at_fn_group_banner 47 'named-refs.at:485' \
"Unresolved references" " " 2
at_xfail=no
(
- $as_echo "45. $at_setup_line: testing $at_desc ..."
+ $as_echo "47. $at_setup_line: testing $at_desc ..."
$at_traceon
cat >test.y <<'_ATEOF'
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_45
-#AT_START_46
-at_fn_group_banner 46 'named-refs.at:550' \
+#AT_STOP_47
+#AT_START_48
+at_fn_group_banner 48 'named-refs.at:550' \
"\$ or @ followed by . or -" " " 2
at_xfail=no
(
- $as_echo "46. $at_setup_line: testing $at_desc ..."
+ $as_echo "48. $at_setup_line: testing $at_desc ..."
$at_traceon
cat >test.y <<'_ATEOF'
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_46
-#AT_START_47
-at_fn_group_banner 47 'output.at:44' \
+#AT_STOP_48
+#AT_START_49
+at_fn_group_banner 49 'output.at:44' \
"Output files: -dv " " " 3
at_xfail=no
(
- $as_echo "47. $at_setup_line: testing $at_desc ..."
+ $as_echo "49. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_47
-#AT_START_48
-at_fn_group_banner 48 'output.at:50' \
+#AT_STOP_49
+#AT_START_50
+at_fn_group_banner 50 'output.at:50' \
"Output files: -dv >&-" " " 3
at_xfail=no
(
- $as_echo "48. $at_setup_line: testing $at_desc ..."
+ $as_echo "50. $at_setup_line: testing $at_desc ..."
$at_traceon
{ set +x
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_48
-#AT_START_49
-at_fn_group_banner 49 'output.at:55' \
+#AT_STOP_50
+#AT_START_51
+at_fn_group_banner 51 'output.at:55' \
"Output files: -dv -o foo.c " " " 3
at_xfail=no
(
- $as_echo "49. $at_setup_line: testing $at_desc ..."
+ $as_echo "51. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_49
-#AT_START_50
-at_fn_group_banner 50 'output.at:57' \
+#AT_STOP_51
+#AT_START_52
+at_fn_group_banner 52 'output.at:57' \
"Output files: -dv -o foo.tab.c " " " 3
at_xfail=no
(
- $as_echo "50. $at_setup_line: testing $at_desc ..."
+ $as_echo "52. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_50
-#AT_START_51
-at_fn_group_banner 51 'output.at:59' \
+#AT_STOP_52
+#AT_START_53
+at_fn_group_banner 53 'output.at:59' \
"Output files: -dv -y " " " 3
at_xfail=no
(
- $as_echo "51. $at_setup_line: testing $at_desc ..."
+ $as_echo "53. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_51
-#AT_START_52
-at_fn_group_banner 52 'output.at:61' \
+#AT_STOP_53
+#AT_START_54
+at_fn_group_banner 54 'output.at:61' \
"Output files: -dv -b bar " " " 3
at_xfail=no
(
- $as_echo "52. $at_setup_line: testing $at_desc ..."
+ $as_echo "54. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_52
-#AT_START_53
-at_fn_group_banner 53 'output.at:63' \
+#AT_STOP_54
+#AT_START_55
+at_fn_group_banner 55 'output.at:63' \
"Output files: -dv -g -o foo.c " " " 3
at_xfail=no
(
- $as_echo "53. $at_setup_line: testing $at_desc ..."
+ $as_echo "55. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_53
-#AT_START_54
-at_fn_group_banner 54 'output.at:67' \
+#AT_STOP_55
+#AT_START_56
+at_fn_group_banner 56 'output.at:67' \
"Output files: %defines %verbose " " " 3
at_xfail=no
(
- $as_echo "54. $at_setup_line: testing $at_desc ..."
+ $as_echo "56. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_54
-#AT_START_55
-at_fn_group_banner 55 'output.at:69' \
+#AT_STOP_56
+#AT_START_57
+at_fn_group_banner 57 'output.at:69' \
"Output files: %defines %verbose %yacc " " " 3
at_xfail=no
(
- $as_echo "55. $at_setup_line: testing $at_desc ..."
+ $as_echo "57. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_55
-#AT_START_56
-at_fn_group_banner 56 'output.at:72' \
+#AT_STOP_57
+#AT_START_58
+at_fn_group_banner 58 'output.at:72' \
"Output files: %defines %verbose %yacc " " " 3
at_xfail=no
(
- $as_echo "56. $at_setup_line: testing $at_desc ..."
+ $as_echo "58. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_56
-#AT_START_57
-at_fn_group_banner 57 'output.at:76' \
+#AT_STOP_58
+#AT_START_59
+at_fn_group_banner 59 'output.at:76' \
"Output files: %file-prefix \"bar\" %defines %verbose " "" 3
at_xfail=no
(
- $as_echo "57. $at_setup_line: testing $at_desc ..."
+ $as_echo "59. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_57
-#AT_START_58
-at_fn_group_banner 58 'output.at:78' \
+#AT_STOP_59
+#AT_START_60
+at_fn_group_banner 60 'output.at:78' \
"Output files: %output=\"bar.c\" %defines %verbose %yacc " "" 3
at_xfail=no
(
- $as_echo "58. $at_setup_line: testing $at_desc ..."
+ $as_echo "60. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_58
-#AT_START_59
-at_fn_group_banner 59 'output.at:80' \
+#AT_STOP_60
+#AT_START_61
+at_fn_group_banner 61 'output.at:80' \
"Output files: %file-prefix=\"baz\" %output \"bar.c\" %defines %verbose %yacc " "" 3
at_xfail=no
(
- $as_echo "59. $at_setup_line: testing $at_desc ..."
+ $as_echo "61. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_59
-#AT_START_60
-at_fn_group_banner 60 'output.at:87' \
+#AT_STOP_61
+#AT_START_62
+at_fn_group_banner 62 'output.at:87' \
"Output files: %defines %verbose " " " 3
at_xfail=no
(
- $as_echo "60. $at_setup_line: testing $at_desc ..."
+ $as_echo "62. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_60
-#AT_START_61
-at_fn_group_banner 61 'output.at:90' \
+#AT_STOP_62
+#AT_START_63
+at_fn_group_banner 63 'output.at:90' \
"Output files: %defines %verbose -o foo.c " " " 3
at_xfail=no
(
- $as_echo "61. $at_setup_line: testing $at_desc ..."
+ $as_echo "63. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_61
-#AT_START_62
-at_fn_group_banner 62 'output.at:93' \
+#AT_STOP_63
+#AT_START_64
+at_fn_group_banner 64 'output.at:93' \
"Output files: --defines=foo.hpp -o foo.c++ " " " 3
at_xfail=no
(
- $as_echo "62. $at_setup_line: testing $at_desc ..."
+ $as_echo "64. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_62
-#AT_START_63
-at_fn_group_banner 63 'output.at:97' \
+#AT_STOP_64
+#AT_START_65
+at_fn_group_banner 65 'output.at:97' \
"Output files: %defines \"foo.hpp\" -o foo.c++ " " " 3
at_xfail=no
(
- $as_echo "63. $at_setup_line: testing $at_desc ..."
+ $as_echo "65. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_63
-#AT_START_64
-at_fn_group_banner 64 'output.at:101' \
+#AT_STOP_65
+#AT_START_66
+at_fn_group_banner 66 'output.at:101' \
"Output files: -o foo.c++ --graph=foo.gph " " " 3
at_xfail=no
(
- $as_echo "64. $at_setup_line: testing $at_desc ..."
+ $as_echo "66. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_64
-#AT_START_65
-at_fn_group_banner 65 'output.at:116' \
+#AT_STOP_66
+#AT_START_67
+at_fn_group_banner 67 'output.at:116' \
"Output files: %skeleton \"lalr1.cc\" %defines %verbose " "" 3
at_xfail=no
(
- $as_echo "65. $at_setup_line: testing $at_desc ..."
+ $as_echo "67. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_65
-#AT_START_66
-at_fn_group_banner 66 'output.at:119' \
+#AT_STOP_67
+#AT_START_68
+at_fn_group_banner 68 'output.at:119' \
"Output files: %skeleton \"lalr1.cc\" %defines %verbose " "" 3
at_xfail=no
(
- $as_echo "66. $at_setup_line: testing $at_desc ..."
+ $as_echo "68. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_66
-#AT_START_67
-at_fn_group_banner 67 'output.at:123' \
+#AT_STOP_68
+#AT_START_69
+at_fn_group_banner 69 'output.at:123' \
"Output files: %skeleton \"lalr1.cc\" %defines %verbose -o subdir/foo.cc " "" 3
at_xfail=no
(
- $as_echo "67. $at_setup_line: testing $at_desc ..."
+ $as_echo "69. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_67
-#AT_START_68
-at_fn_group_banner 68 'output.at:128' \
+#AT_STOP_69
+#AT_START_70
+at_fn_group_banner 70 'output.at:128' \
"Output files: %skeleton \"lalr1.cc\" %defines %verbose %file-prefix \"output_dir/foo\" " "" 3
at_xfail=no
(
- $as_echo "68. $at_setup_line: testing $at_desc ..."
+ $as_echo "70. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_68
-#AT_START_69
-at_fn_group_banner 69 'output.at:158' \
+#AT_STOP_70
+#AT_START_71
+at_fn_group_banner 71 'output.at:158' \
"Conflicting output files: --graph=\"foo.tab.c\"" " " 3
at_xfail=no
(
- $as_echo "69. $at_setup_line: testing $at_desc ..."
+ $as_echo "71. $at_setup_line: testing $at_desc ..."
$at_traceon
case "foo.y" in
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_69
-#AT_START_70
-at_fn_group_banner 70 'output.at:163' \
+#AT_STOP_71
+#AT_START_72
+at_fn_group_banner 72 'output.at:163' \
"Conflicting output files: %defines \"foo.output\" -v" "" 3
at_xfail=no
(
- $as_echo "70. $at_setup_line: testing $at_desc ..."
+ $as_echo "72. $at_setup_line: testing $at_desc ..."
$at_traceon
case "foo.y" in
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_70
-#AT_START_71
-at_fn_group_banner 71 'output.at:168' \
+#AT_STOP_72
+#AT_START_73
+at_fn_group_banner 73 'output.at:168' \
"Conflicting output files: %skeleton \"lalr1.cc\" %defines --graph=\"location.hh\"" "" 3
at_xfail=no
(
- $as_echo "71. $at_setup_line: testing $at_desc ..."
+ $as_echo "73. $at_setup_line: testing $at_desc ..."
$at_traceon
case "foo.y" in
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_71
-#AT_START_72
-at_fn_group_banner 72 'output.at:173' \
+#AT_STOP_73
+#AT_START_74
+at_fn_group_banner 74 'output.at:173' \
"Conflicting output files: -o foo.y" " " 3
at_xfail=no
(
- $as_echo "72. $at_setup_line: testing $at_desc ..."
+ $as_echo "74. $at_setup_line: testing $at_desc ..."
$at_traceon
case "foo.y" in
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_72
-#AT_START_73
-at_fn_group_banner 73 'output.at:219' \
+#AT_STOP_74
+#AT_START_75
+at_fn_group_banner 75 'output.at:219' \
"Output file name: \`~!@#\$%^&*()-=_+{}[]|\\:;<>, .'" "" 3
at_xfail=no
(
- $as_echo "73. $at_setup_line: testing $at_desc ..."
+ $as_echo "75. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_73
-#AT_START_74
-at_fn_group_banner 74 'output.at:226' \
+#AT_STOP_75
+#AT_START_76
+at_fn_group_banner 76 'output.at:226' \
"Output file name: (" " " 3
at_xfail=no
(
- $as_echo "74. $at_setup_line: testing $at_desc ..."
+ $as_echo "76. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_74
-#AT_START_75
-at_fn_group_banner 75 'output.at:227' \
+#AT_STOP_76
+#AT_START_77
+at_fn_group_banner 77 'output.at:227' \
"Output file name: )" " " 3
at_xfail=no
(
- $as_echo "75. $at_setup_line: testing $at_desc ..."
+ $as_echo "77. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_75
-#AT_START_76
-at_fn_group_banner 76 'output.at:228' \
+#AT_STOP_77
+#AT_START_78
+at_fn_group_banner 78 'output.at:228' \
"Output file name: #" " " 3
at_xfail=no
(
- $as_echo "76. $at_setup_line: testing $at_desc ..."
+ $as_echo "78. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_76
-#AT_START_77
-at_fn_group_banner 77 'output.at:229' \
+#AT_STOP_78
+#AT_START_79
+at_fn_group_banner 79 'output.at:229' \
"Output file name: @@" " " 3
at_xfail=no
(
- $as_echo "77. $at_setup_line: testing $at_desc ..."
+ $as_echo "79. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_77
-#AT_START_78
-at_fn_group_banner 78 'output.at:230' \
+#AT_STOP_79
+#AT_START_80
+at_fn_group_banner 80 'output.at:230' \
"Output file name: @{" " " 3
at_xfail=no
(
- $as_echo "78. $at_setup_line: testing $at_desc ..."
+ $as_echo "80. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_78
-#AT_START_79
-at_fn_group_banner 79 'output.at:231' \
+#AT_STOP_80
+#AT_START_81
+at_fn_group_banner 81 'output.at:231' \
"Output file name: @}" " " 3
at_xfail=no
(
- $as_echo "79. $at_setup_line: testing $at_desc ..."
+ $as_echo "81. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_79
-#AT_START_80
-at_fn_group_banner 80 'output.at:232' \
+#AT_STOP_81
+#AT_START_82
+at_fn_group_banner 82 'output.at:232' \
"Output file name: [" " " 3
at_xfail=no
(
- $as_echo "80. $at_setup_line: testing $at_desc ..."
+ $as_echo "82. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_80
-#AT_START_81
-at_fn_group_banner 81 'output.at:233' \
+#AT_STOP_82
+#AT_START_83
+at_fn_group_banner 83 'output.at:233' \
"Output file name: ]" " " 3
at_xfail=no
(
- $as_echo "81. $at_setup_line: testing $at_desc ..."
+ $as_echo "83. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_81
-#AT_START_82
-at_fn_group_banner 82 'skeletons.at:24' \
+#AT_STOP_83
+#AT_START_84
+at_fn_group_banner 84 'skeletons.at:24' \
"Relative skeleton file names" " " 4
at_xfail=no
(
- $as_echo "82. $at_setup_line: testing $at_desc ..."
+ $as_echo "84. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_82
-#AT_START_83
-at_fn_group_banner 83 'skeletons.at:84' \
+#AT_STOP_84
+#AT_START_85
+at_fn_group_banner 85 'skeletons.at:84' \
"Installed skeleton file names" " " 4
at_xfail=no
(
- $as_echo "83. $at_setup_line: testing $at_desc ..."
+ $as_echo "85. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_83
-#AT_START_84
-at_fn_group_banner 84 'skeletons.at:146' \
+#AT_STOP_85
+#AT_START_86
+at_fn_group_banner 86 'skeletons.at:146' \
"%define Boolean variables: invalid skeleton defaults" "" 4
at_xfail=no
(
- $as_echo "84. $at_setup_line: testing $at_desc ..."
+ $as_echo "86. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_84
-#AT_START_85
-at_fn_group_banner 85 'skeletons.at:170' \
+#AT_STOP_86
+#AT_START_87
+at_fn_group_banner 87 'skeletons.at:170' \
"Complaining during macro argument expansion" " " 4
at_xfail=no
(
- $as_echo "85. $at_setup_line: testing $at_desc ..."
+ $as_echo "87. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_85
-#AT_START_86
-at_fn_group_banner 86 'skeletons.at:252' \
+#AT_STOP_87
+#AT_START_88
+at_fn_group_banner 88 'skeletons.at:252' \
"Fatal errors make M4 exit immediately" " " 4
at_xfail=no
(
- $as_echo "86. $at_setup_line: testing $at_desc ..."
+ $as_echo "88. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_86
-#AT_START_87
-at_fn_group_banner 87 'skeletons.at:306' \
+#AT_STOP_88
+#AT_START_89
+at_fn_group_banner 89 'skeletons.at:306' \
"Fatal errors but M4 continues producing output" " " 4
at_xfail=no
(
- $as_echo "87. $at_setup_line: testing $at_desc ..."
+ $as_echo "89. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_87
-#AT_START_88
-at_fn_group_banner 88 'sets.at:66' \
+#AT_STOP_89
+#AT_START_90
+at_fn_group_banner 90 'sets.at:66' \
"Nullable" " " 5
at_xfail=no
(
- $as_echo "88. $at_setup_line: testing $at_desc ..."
+ $as_echo "90. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_88
-#AT_START_89
-at_fn_group_banner 89 'sets.at:151' \
+#AT_STOP_90
+#AT_START_91
+at_fn_group_banner 91 'sets.at:151' \
"Broken Closure" " " 5
at_xfail=no
(
- $as_echo "89. $at_setup_line: testing $at_desc ..."
+ $as_echo "91. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_89
-#AT_START_90
-at_fn_group_banner 90 'sets.at:193' \
+#AT_STOP_91
+#AT_START_92
+at_fn_group_banner 92 'sets.at:193' \
"Firsts" " " 5
at_xfail=no
(
- $as_echo "90. $at_setup_line: testing $at_desc ..."
+ $as_echo "92. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_90
-#AT_START_91
-at_fn_group_banner 91 'sets.at:269' \
+#AT_STOP_92
+#AT_START_93
+at_fn_group_banner 93 'sets.at:269' \
"Accept" " " 5
at_xfail=no
(
- $as_echo "91. $at_setup_line: testing $at_desc ..."
+ $as_echo "93. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_91
-#AT_START_92
-at_fn_group_banner 92 'reduce.at:25' \
+#AT_STOP_93
+#AT_START_94
+at_fn_group_banner 94 'reduce.at:25' \
"Useless Terminals" " " 6
at_xfail=no
(
- $as_echo "92. $at_setup_line: testing $at_desc ..."
+ $as_echo "94. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_92
-#AT_START_93
-at_fn_group_banner 93 'reduce.at:69' \
+#AT_STOP_94
+#AT_START_95
+at_fn_group_banner 95 'reduce.at:69' \
"Useless Nonterminals" " " 6
at_xfail=no
(
- $as_echo "93. $at_setup_line: testing $at_desc ..."
+ $as_echo "95. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_93
-#AT_START_94
-at_fn_group_banner 94 'reduce.at:124' \
+#AT_STOP_95
+#AT_START_96
+at_fn_group_banner 96 'reduce.at:124' \
"Useless Rules" " " 6
at_xfail=no
(
- $as_echo "94. $at_setup_line: testing $at_desc ..."
+ $as_echo "96. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_94
-#AT_START_95
-at_fn_group_banner 95 'reduce.at:212' \
+#AT_STOP_96
+#AT_START_97
+at_fn_group_banner 97 'reduce.at:212' \
"Reduced Automaton" " " 6
at_xfail=no
(
- $as_echo "95. $at_setup_line: testing $at_desc ..."
+ $as_echo "97. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_95
-#AT_START_96
-at_fn_group_banner 96 'reduce.at:302' \
+#AT_STOP_97
+#AT_START_98
+at_fn_group_banner 98 'reduce.at:302' \
"Underivable Rules" " " 6
at_xfail=no
(
- $as_echo "96. $at_setup_line: testing $at_desc ..."
+ $as_echo "98. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_96
-#AT_START_97
-at_fn_group_banner 97 'reduce.at:344' \
+#AT_STOP_98
+#AT_START_99
+at_fn_group_banner 99 'reduce.at:344' \
"Empty Language" " " 6
at_xfail=no
(
- $as_echo "97. $at_setup_line: testing $at_desc ..."
+ $as_echo "99. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_97
-#AT_START_98
-at_fn_group_banner 98 'reduce.at:395' \
+#AT_STOP_99
+#AT_START_100
+at_fn_group_banner 100 'reduce.at:395' \
"no %define lr.type: Single State Split" " " 6
at_xfail=no
(
- $as_echo "98. $at_setup_line: testing $at_desc ..."
+ $as_echo "100. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_98
-#AT_START_99
-at_fn_group_banner 99 'reduce.at:395' \
+#AT_STOP_100
+#AT_START_101
+at_fn_group_banner 101 'reduce.at:395' \
"%define lr.type lalr: Single State Split" " " 6
at_xfail=no
(
- $as_echo "99. $at_setup_line: testing $at_desc ..."
+ $as_echo "101. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_99
-#AT_START_100
-at_fn_group_banner 100 'reduce.at:395' \
+#AT_STOP_101
+#AT_START_102
+at_fn_group_banner 102 'reduce.at:395' \
"%define lr.type ielr: Single State Split" " " 6
at_xfail=no
(
- $as_echo "100. $at_setup_line: testing $at_desc ..."
+ $as_echo "102. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_100
-#AT_START_101
-at_fn_group_banner 101 'reduce.at:395' \
+#AT_STOP_102
+#AT_START_103
+at_fn_group_banner 103 'reduce.at:395' \
"%define lr.type canonical-lr: Single State Split" "" 6
at_xfail=no
(
- $as_echo "101. $at_setup_line: testing $at_desc ..."
+ $as_echo "103. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_101
-#AT_START_102
-at_fn_group_banner 102 'reduce.at:628' \
+#AT_STOP_103
+#AT_START_104
+at_fn_group_banner 104 'reduce.at:628' \
"no %define lr.type: Lane Split" " " 6
at_xfail=no
(
- $as_echo "102. $at_setup_line: testing $at_desc ..."
+ $as_echo "104. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_102
-#AT_START_103
-at_fn_group_banner 103 'reduce.at:628' \
+#AT_STOP_104
+#AT_START_105
+at_fn_group_banner 105 'reduce.at:628' \
"%define lr.type lalr: Lane Split" " " 6
at_xfail=no
(
- $as_echo "103. $at_setup_line: testing $at_desc ..."
+ $as_echo "105. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_103
-#AT_START_104
-at_fn_group_banner 104 'reduce.at:628' \
+#AT_STOP_105
+#AT_START_106
+at_fn_group_banner 106 'reduce.at:628' \
"%define lr.type ielr: Lane Split" " " 6
at_xfail=no
(
- $as_echo "104. $at_setup_line: testing $at_desc ..."
+ $as_echo "106. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_104
-#AT_START_105
-at_fn_group_banner 105 'reduce.at:628' \
+#AT_STOP_106
+#AT_START_107
+at_fn_group_banner 107 'reduce.at:628' \
"%define lr.type canonical-lr: Lane Split" " " 6
at_xfail=no
(
- $as_echo "105. $at_setup_line: testing $at_desc ..."
+ $as_echo "107. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_105
-#AT_START_106
-at_fn_group_banner 106 'reduce.at:872' \
+#AT_STOP_107
+#AT_START_108
+at_fn_group_banner 108 'reduce.at:872' \
"no %define lr.type: Complex Lane Split" " " 6
at_xfail=no
(
- $as_echo "106. $at_setup_line: testing $at_desc ..."
+ $as_echo "108. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_106
-#AT_START_107
-at_fn_group_banner 107 'reduce.at:872' \
+#AT_STOP_108
+#AT_START_109
+at_fn_group_banner 109 'reduce.at:872' \
"%define lr.type lalr: Complex Lane Split" " " 6
at_xfail=no
(
- $as_echo "107. $at_setup_line: testing $at_desc ..."
+ $as_echo "109. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_107
-#AT_START_108
-at_fn_group_banner 108 'reduce.at:872' \
+#AT_STOP_109
+#AT_START_110
+at_fn_group_banner 110 'reduce.at:872' \
"%define lr.type ielr: Complex Lane Split" " " 6
at_xfail=no
(
- $as_echo "108. $at_setup_line: testing $at_desc ..."
+ $as_echo "110. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_108
-#AT_START_109
-at_fn_group_banner 109 'reduce.at:872' \
+#AT_STOP_110
+#AT_START_111
+at_fn_group_banner 111 'reduce.at:872' \
"%define lr.type canonical-lr: Complex Lane Split" "" 6
at_xfail=no
(
- $as_echo "109. $at_setup_line: testing $at_desc ..."
+ $as_echo "111. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_109
-#AT_START_110
-at_fn_group_banner 110 'reduce.at:1141' \
+#AT_STOP_111
+#AT_START_112
+at_fn_group_banner 112 'reduce.at:1141' \
"no %define lr.type: Split During Added Lookahead Propagation" "" 6
at_xfail=no
(
- $as_echo "110. $at_setup_line: testing $at_desc ..."
+ $as_echo "112. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_110
-#AT_START_111
-at_fn_group_banner 111 'reduce.at:1141' \
+#AT_STOP_112
+#AT_START_113
+at_fn_group_banner 113 'reduce.at:1141' \
"%define lr.type lalr: Split During Added Lookahead Propagation" "" 6
at_xfail=no
(
- $as_echo "111. $at_setup_line: testing $at_desc ..."
+ $as_echo "113. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_111
-#AT_START_112
-at_fn_group_banner 112 'reduce.at:1141' \
+#AT_STOP_113
+#AT_START_114
+at_fn_group_banner 114 'reduce.at:1141' \
"%define lr.type ielr: Split During Added Lookahead Propagation" "" 6
at_xfail=no
(
- $as_echo "112. $at_setup_line: testing $at_desc ..."
+ $as_echo "114. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_112
-#AT_START_113
-at_fn_group_banner 113 'reduce.at:1141' \
+#AT_STOP_114
+#AT_START_115
+at_fn_group_banner 115 'reduce.at:1141' \
"%define lr.type canonical-lr: Split During Added Lookahead Propagation" "" 6
at_xfail=no
(
- $as_echo "113. $at_setup_line: testing $at_desc ..."
+ $as_echo "115. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_113
-#AT_START_114
-at_fn_group_banner 114 'reduce.at:1471' \
+#AT_STOP_115
+#AT_START_116
+at_fn_group_banner 116 'reduce.at:1471' \
"no %define lr.default-reductions" " " 6
at_xfail=no
(
- $as_echo "114. $at_setup_line: testing $at_desc ..."
+ $as_echo "116. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_114
-#AT_START_115
-at_fn_group_banner 115 'reduce.at:1471' \
+#AT_STOP_116
+#AT_START_117
+at_fn_group_banner 117 'reduce.at:1471' \
"%define lr.default-reductions most" " " 6
at_xfail=no
(
- $as_echo "115. $at_setup_line: testing $at_desc ..."
+ $as_echo "117. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_115
-#AT_START_116
-at_fn_group_banner 116 'reduce.at:1471' \
+#AT_STOP_117
+#AT_START_118
+at_fn_group_banner 118 'reduce.at:1471' \
"%define lr.default-reductions consistent" " " 6
at_xfail=no
(
- $as_echo "116. $at_setup_line: testing $at_desc ..."
+ $as_echo "118. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_116
-#AT_START_117
-at_fn_group_banner 117 'reduce.at:1471' \
+#AT_STOP_118
+#AT_START_119
+at_fn_group_banner 119 'reduce.at:1471' \
"%define lr.default-reductions accepting" " " 6
at_xfail=no
(
- $as_echo "117. $at_setup_line: testing $at_desc ..."
+ $as_echo "119. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_117
-#AT_START_118
-at_fn_group_banner 118 'synclines.at:111' \
- "Prologue synch line" " " 7
+#AT_STOP_119
+#AT_START_120
+at_fn_group_banner 120 'synclines.at:124' \
+ "Prologue syncline" " " 7
at_xfail=no
(
- $as_echo "118. $at_setup_line: testing $at_desc ..."
+ $as_echo "120. $at_setup_line: testing $at_desc ..."
$at_traceon
{ set +x
-$as_echo "$at_srcdir/synclines.at:111: \$CC \$CFLAGS \$CPPFLAGS -c syncline.c"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c syncline.c" "synclines.at:111"
+$as_echo "$at_srcdir/synclines.at:124: \$CC \$CFLAGS \$CPPFLAGS -c syncline.c"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c syncline.c" "synclines.at:124"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS -c syncline.c
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_skip $at_status "$at_srcdir/synclines.at:111"
+at_fn_check_skip $at_status "$at_srcdir/synclines.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }
+
+# Transform stderr into something like this:
+#
+# input.y:4: #error "4"
+#
# In case GCC displays column information, strip it down.
#
# input.y:4:2: #error "4" or
# =>
# input.y:4: #error "8"
#
+# The message may include a caret-error:
+#
+# input.y:1:2: error: #error "1"
+# #error "1"
+# ^
#
# And possibly distcc adds its bits.
#
# distcc[35882] Warning: failed to distribute input.c to chrisimac/4, running locally instead
{ set +x
-$as_echo "$at_srcdir/synclines.at:111: sed -e '/^distcc\\[[0-9]*\\] /d' \\
- -e 's/^\\([^:]*:[^:.]*\\)[.:][^:]*:\\(.*\\)\$/\\1:\\2/' \\
- -e 's/^\\([^:]*:[^:]*:\\)[^#]*\\( #error\\)/\\1\\2/' \\
- -e \"/^[^:]*: In function '[^\\']*':\$/d\" \\
- stderr"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:111"
-( $at_check_trace; sed -e '/^distcc\[[0-9]*\] /d' \
- -e 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' \
- -e 's/^\([^:]*:[^:]*:\)[^#]*\( #error\)/\1\2/' \
- -e "/^[^:]*: In function '[^\']*':$/d" \
- stderr
+$as_echo "$at_srcdir/synclines.at:124: perl -p -0777 - stderr <<\\EOF
+ s/^distcc\\[\\d+\\] .*\\n//gm;
+ s/^([^:]+:\\d+)[.:][^:]+:(.+)\$/\$1:\$2/gm;
+ s/^([^:]+:\\d+):[^#]*( #error)/\$1:\$2/gm;
+ s/^[^:]*: In function '[^']+':\\n//gm;
+ s/^\\ +#error.*\\n\\ *\\^\\n//gm;
+EOF
+"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:124"
+( $at_check_trace; perl -p -0777 - stderr <<\EOF
+ s/^distcc\[\d+\] .*\n//gm;
+ s/^([^:]+:\d+)[.:][^:]+:(.+)$/$1:$2/gm;
+ s/^([^:]+:\d+):[^#]*( #error)/$1:$2/gm;
+ s/^[^:]*: In function '[^']+':\n//gm;
+ s/^\ +#error.*\n\ *\^\n//gm;
+EOF
+
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:111"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:111: test \"\`cat stdout\`\" = 'syncline.c:1: #error \"1\"' || exit 77"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:111"
+$as_echo "$at_srcdir/synclines.at:124: test \"\`cat stdout\`\" = 'syncline.c:1: #error \"1\"' || exit 77"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:124"
( $at_check_trace; test "`cat stdout`" = 'syncline.c:1: #error "1"' || exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:111"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/synclines.at:111: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/synclines.at:124: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:111"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:124"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:111"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:111: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "synclines.at:111"
+$as_echo "$at_srcdir/synclines.at:124: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "synclines.at:124"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:111"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/synclines.at:111: \$XSLTPROC \\
+$as_echo "$at_srcdir/synclines.at:124: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:111"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:124"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:111"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/synclines.at:111: \$XSLTPROC \\
+$as_echo "$at_srcdir/synclines.at:124: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:111"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:124"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:111"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/synclines.at:111: bison -o input.c input.y"
-at_fn_check_prepare_trace "synclines.at:111"
+$as_echo "$at_srcdir/synclines.at:124: bison -o input.c input.y"
+at_fn_check_prepare_trace "synclines.at:124"
( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:111"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:111: \$CC \$CFLAGS \$CPPFLAGS -c input.c"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c input.c" "synclines.at:111"
+$as_echo "$at_srcdir/synclines.at:124: \$CC \$CFLAGS \$CPPFLAGS -c input.c"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c input.c" "synclines.at:124"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS -c input.c
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_skip $at_status "$at_srcdir/synclines.at:111"
+at_fn_check_skip $at_status "$at_srcdir/synclines.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }
+
+# Transform stderr into something like this:
+#
+# input.y:4: #error "4"
+#
# In case GCC displays column information, strip it down.
#
# input.y:4:2: #error "4" or
# =>
# input.y:4: #error "8"
#
+# The message may include a caret-error:
+#
+# input.y:1:2: error: #error "1"
+# #error "1"
+# ^
#
# And possibly distcc adds its bits.
#
# distcc[35882] Warning: failed to distribute input.c to chrisimac/4, running locally instead
{ set +x
-$as_echo "$at_srcdir/synclines.at:111: sed -e '/^distcc\\[[0-9]*\\] /d' \\
- -e 's/^\\([^:]*:[^:.]*\\)[.:][^:]*:\\(.*\\)\$/\\1:\\2/' \\
- -e 's/^\\([^:]*:[^:]*:\\)[^#]*\\( #error\\)/\\1\\2/' \\
- -e \"/^[^:]*: In function '[^\\']*':\$/d\" \\
- stderr"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:111"
-( $at_check_trace; sed -e '/^distcc\[[0-9]*\] /d' \
- -e 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' \
- -e 's/^\([^:]*:[^:]*:\)[^#]*\( #error\)/\1\2/' \
- -e "/^[^:]*: In function '[^\']*':$/d" \
- stderr
+$as_echo "$at_srcdir/synclines.at:124: perl -p -0777 - stderr <<\\EOF
+ s/^distcc\\[\\d+\\] .*\\n//gm;
+ s/^([^:]+:\\d+)[.:][^:]+:(.+)\$/\$1:\$2/gm;
+ s/^([^:]+:\\d+):[^#]*( #error)/\$1:\$2/gm;
+ s/^[^:]*: In function '[^']+':\\n//gm;
+ s/^\\ +#error.*\\n\\ *\\^\\n//gm;
+EOF
+"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:124"
+( $at_check_trace; perl -p -0777 - stderr <<\EOF
+ s/^distcc\[\d+\] .*\n//gm;
+ s/^([^:]+:\d+)[.:][^:]+:(.+)$/$1:$2/gm;
+ s/^([^:]+:\d+):[^#]*( #error)/$1:$2/gm;
+ s/^[^:]*: In function '[^']+':\n//gm;
+ s/^\ +#error.*\n\ *\^\n//gm;
+EOF
+
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:111"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:111: cat stdout"
-at_fn_check_prepare_trace "synclines.at:111"
+$as_echo "$at_srcdir/synclines.at:124: cat stdout"
+at_fn_check_prepare_trace "synclines.at:124"
( $at_check_trace; cat stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
echo >>"$at_stdout"; $as_echo "input.y:2: #error \"2\"
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:111"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_118
-#AT_START_119
-at_fn_group_banner 119 'synclines.at:129' \
- "%union synch line" " " 7
+#AT_STOP_120
+#AT_START_121
+at_fn_group_banner 121 'synclines.at:142' \
+ "%union syncline" " " 7
at_xfail=no
(
- $as_echo "119. $at_setup_line: testing $at_desc ..."
+ $as_echo "121. $at_setup_line: testing $at_desc ..."
$at_traceon
{ set +x
-$as_echo "$at_srcdir/synclines.at:129: \$CC \$CFLAGS \$CPPFLAGS -c syncline.c"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c syncline.c" "synclines.at:129"
+$as_echo "$at_srcdir/synclines.at:142: \$CC \$CFLAGS \$CPPFLAGS -c syncline.c"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c syncline.c" "synclines.at:142"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS -c syncline.c
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_skip $at_status "$at_srcdir/synclines.at:129"
+at_fn_check_skip $at_status "$at_srcdir/synclines.at:142"
$at_failed && at_fn_log_failure
$at_traceon; }
+
+# Transform stderr into something like this:
+#
+# input.y:4: #error "4"
+#
# In case GCC displays column information, strip it down.
#
# input.y:4:2: #error "4" or
# =>
# input.y:4: #error "8"
#
+# The message may include a caret-error:
+#
+# input.y:1:2: error: #error "1"
+# #error "1"
+# ^
#
# And possibly distcc adds its bits.
#
# distcc[35882] Warning: failed to distribute input.c to chrisimac/4, running locally instead
{ set +x
-$as_echo "$at_srcdir/synclines.at:129: sed -e '/^distcc\\[[0-9]*\\] /d' \\
- -e 's/^\\([^:]*:[^:.]*\\)[.:][^:]*:\\(.*\\)\$/\\1:\\2/' \\
- -e 's/^\\([^:]*:[^:]*:\\)[^#]*\\( #error\\)/\\1\\2/' \\
- -e \"/^[^:]*: In function '[^\\']*':\$/d\" \\
- stderr"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:129"
-( $at_check_trace; sed -e '/^distcc\[[0-9]*\] /d' \
- -e 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' \
- -e 's/^\([^:]*:[^:]*:\)[^#]*\( #error\)/\1\2/' \
- -e "/^[^:]*: In function '[^\']*':$/d" \
- stderr
+$as_echo "$at_srcdir/synclines.at:142: perl -p -0777 - stderr <<\\EOF
+ s/^distcc\\[\\d+\\] .*\\n//gm;
+ s/^([^:]+:\\d+)[.:][^:]+:(.+)\$/\$1:\$2/gm;
+ s/^([^:]+:\\d+):[^#]*( #error)/\$1:\$2/gm;
+ s/^[^:]*: In function '[^']+':\\n//gm;
+ s/^\\ +#error.*\\n\\ *\\^\\n//gm;
+EOF
+"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:142"
+( $at_check_trace; perl -p -0777 - stderr <<\EOF
+ s/^distcc\[\d+\] .*\n//gm;
+ s/^([^:]+:\d+)[.:][^:]+:(.+)$/$1:$2/gm;
+ s/^([^:]+:\d+):[^#]*( #error)/$1:$2/gm;
+ s/^[^:]*: In function '[^']+':\n//gm;
+ s/^\ +#error.*\n\ *\^\n//gm;
+EOF
+
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:129"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:142"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:129: test \"\`cat stdout\`\" = 'syncline.c:1: #error \"1\"' || exit 77"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:129"
+$as_echo "$at_srcdir/synclines.at:142: test \"\`cat stdout\`\" = 'syncline.c:1: #error \"1\"' || exit 77"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:142"
( $at_check_trace; test "`cat stdout`" = 'syncline.c:1: #error "1"' || exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:129"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:142"
$at_failed && at_fn_log_failure
$at_traceon; }
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/synclines.at:129: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/synclines.at:142: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:129"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:142"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:129"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:142"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:129: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "synclines.at:129"
+$as_echo "$at_srcdir/synclines.at:142: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "synclines.at:142"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:129"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:142"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/synclines.at:129: \$XSLTPROC \\
+$as_echo "$at_srcdir/synclines.at:142: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:129"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:142"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:129"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:142"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/synclines.at:129: \$XSLTPROC \\
+$as_echo "$at_srcdir/synclines.at:142: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:129"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:142"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:129"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:142"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/synclines.at:129: bison -o input.c input.y"
-at_fn_check_prepare_trace "synclines.at:129"
+$as_echo "$at_srcdir/synclines.at:142: bison -o input.c input.y"
+at_fn_check_prepare_trace "synclines.at:142"
( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:129"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:142"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:129: \$CC \$CFLAGS \$CPPFLAGS -c input.c"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c input.c" "synclines.at:129"
+$as_echo "$at_srcdir/synclines.at:142: \$CC \$CFLAGS \$CPPFLAGS -c input.c"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c input.c" "synclines.at:142"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS -c input.c
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_skip $at_status "$at_srcdir/synclines.at:129"
+at_fn_check_skip $at_status "$at_srcdir/synclines.at:142"
$at_failed && at_fn_log_failure
$at_traceon; }
+
+# Transform stderr into something like this:
+#
+# input.y:4: #error "4"
+#
# In case GCC displays column information, strip it down.
#
# input.y:4:2: #error "4" or
# =>
# input.y:4: #error "8"
#
+# The message may include a caret-error:
+#
+# input.y:1:2: error: #error "1"
+# #error "1"
+# ^
#
# And possibly distcc adds its bits.
#
# distcc[35882] Warning: failed to distribute input.c to chrisimac/4, running locally instead
{ set +x
-$as_echo "$at_srcdir/synclines.at:129: sed -e '/^distcc\\[[0-9]*\\] /d' \\
- -e 's/^\\([^:]*:[^:.]*\\)[.:][^:]*:\\(.*\\)\$/\\1:\\2/' \\
- -e 's/^\\([^:]*:[^:]*:\\)[^#]*\\( #error\\)/\\1\\2/' \\
- -e \"/^[^:]*: In function '[^\\']*':\$/d\" \\
- stderr"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:129"
-( $at_check_trace; sed -e '/^distcc\[[0-9]*\] /d' \
- -e 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' \
- -e 's/^\([^:]*:[^:]*:\)[^#]*\( #error\)/\1\2/' \
- -e "/^[^:]*: In function '[^\']*':$/d" \
- stderr
+$as_echo "$at_srcdir/synclines.at:142: perl -p -0777 - stderr <<\\EOF
+ s/^distcc\\[\\d+\\] .*\\n//gm;
+ s/^([^:]+:\\d+)[.:][^:]+:(.+)\$/\$1:\$2/gm;
+ s/^([^:]+:\\d+):[^#]*( #error)/\$1:\$2/gm;
+ s/^[^:]*: In function '[^']+':\\n//gm;
+ s/^\\ +#error.*\\n\\ *\\^\\n//gm;
+EOF
+"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:142"
+( $at_check_trace; perl -p -0777 - stderr <<\EOF
+ s/^distcc\[\d+\] .*\n//gm;
+ s/^([^:]+:\d+)[.:][^:]+:(.+)$/$1:$2/gm;
+ s/^([^:]+:\d+):[^#]*( #error)/$1:$2/gm;
+ s/^[^:]*: In function '[^']+':\n//gm;
+ s/^\ +#error.*\n\ *\^\n//gm;
+EOF
+
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:129"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:142"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:129: cat stdout"
-at_fn_check_prepare_trace "synclines.at:129"
+$as_echo "$at_srcdir/synclines.at:142: cat stdout"
+at_fn_check_prepare_trace "synclines.at:142"
( $at_check_trace; cat stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
echo >>"$at_stdout"; $as_echo "input.y:2: #error \"2\"
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:129"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:142"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_119
-#AT_START_120
-at_fn_group_banner 120 'synclines.at:150' \
- "Postprologue synch line" " " 7
+#AT_STOP_121
+#AT_START_122
+at_fn_group_banner 122 'synclines.at:163' \
+ "Postprologue syncline" " " 7
at_xfail=no
(
- $as_echo "120. $at_setup_line: testing $at_desc ..."
+ $as_echo "122. $at_setup_line: testing $at_desc ..."
$at_traceon
{ set +x
-$as_echo "$at_srcdir/synclines.at:150: \$CC \$CFLAGS \$CPPFLAGS -c syncline.c"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c syncline.c" "synclines.at:150"
+$as_echo "$at_srcdir/synclines.at:163: \$CC \$CFLAGS \$CPPFLAGS -c syncline.c"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c syncline.c" "synclines.at:163"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS -c syncline.c
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_skip $at_status "$at_srcdir/synclines.at:150"
+at_fn_check_skip $at_status "$at_srcdir/synclines.at:163"
$at_failed && at_fn_log_failure
$at_traceon; }
+
+# Transform stderr into something like this:
+#
+# input.y:4: #error "4"
+#
# In case GCC displays column information, strip it down.
#
# input.y:4:2: #error "4" or
# =>
# input.y:4: #error "8"
#
+# The message may include a caret-error:
+#
+# input.y:1:2: error: #error "1"
+# #error "1"
+# ^
#
# And possibly distcc adds its bits.
#
# distcc[35882] Warning: failed to distribute input.c to chrisimac/4, running locally instead
{ set +x
-$as_echo "$at_srcdir/synclines.at:150: sed -e '/^distcc\\[[0-9]*\\] /d' \\
- -e 's/^\\([^:]*:[^:.]*\\)[.:][^:]*:\\(.*\\)\$/\\1:\\2/' \\
- -e 's/^\\([^:]*:[^:]*:\\)[^#]*\\( #error\\)/\\1\\2/' \\
- -e \"/^[^:]*: In function '[^\\']*':\$/d\" \\
- stderr"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:150"
-( $at_check_trace; sed -e '/^distcc\[[0-9]*\] /d' \
- -e 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' \
- -e 's/^\([^:]*:[^:]*:\)[^#]*\( #error\)/\1\2/' \
- -e "/^[^:]*: In function '[^\']*':$/d" \
- stderr
+$as_echo "$at_srcdir/synclines.at:163: perl -p -0777 - stderr <<\\EOF
+ s/^distcc\\[\\d+\\] .*\\n//gm;
+ s/^([^:]+:\\d+)[.:][^:]+:(.+)\$/\$1:\$2/gm;
+ s/^([^:]+:\\d+):[^#]*( #error)/\$1:\$2/gm;
+ s/^[^:]*: In function '[^']+':\\n//gm;
+ s/^\\ +#error.*\\n\\ *\\^\\n//gm;
+EOF
+"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:163"
+( $at_check_trace; perl -p -0777 - stderr <<\EOF
+ s/^distcc\[\d+\] .*\n//gm;
+ s/^([^:]+:\d+)[.:][^:]+:(.+)$/$1:$2/gm;
+ s/^([^:]+:\d+):[^#]*( #error)/$1:$2/gm;
+ s/^[^:]*: In function '[^']+':\n//gm;
+ s/^\ +#error.*\n\ *\^\n//gm;
+EOF
+
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:150"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:163"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:150: test \"\`cat stdout\`\" = 'syncline.c:1: #error \"1\"' || exit 77"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:150"
+$as_echo "$at_srcdir/synclines.at:163: test \"\`cat stdout\`\" = 'syncline.c:1: #error \"1\"' || exit 77"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:163"
( $at_check_trace; test "`cat stdout`" = 'syncline.c:1: #error "1"' || exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:150"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:163"
$at_failed && at_fn_log_failure
$at_traceon; }
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/synclines.at:150: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/synclines.at:163: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:150"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:163"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:150"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:163"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:150: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "synclines.at:150"
+$as_echo "$at_srcdir/synclines.at:163: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "synclines.at:163"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:150"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:163"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/synclines.at:150: \$XSLTPROC \\
+$as_echo "$at_srcdir/synclines.at:163: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:150"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:163"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:150"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:163"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/synclines.at:150: \$XSLTPROC \\
+$as_echo "$at_srcdir/synclines.at:163: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:150"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:163"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:150"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:163"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/synclines.at:150: bison -o input.c input.y"
-at_fn_check_prepare_trace "synclines.at:150"
+$as_echo "$at_srcdir/synclines.at:163: bison -o input.c input.y"
+at_fn_check_prepare_trace "synclines.at:163"
( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:150"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:163"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:150: \$CC \$CFLAGS \$CPPFLAGS -c input.c"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c input.c" "synclines.at:150"
+$as_echo "$at_srcdir/synclines.at:163: \$CC \$CFLAGS \$CPPFLAGS -c input.c"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c input.c" "synclines.at:163"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS -c input.c
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_skip $at_status "$at_srcdir/synclines.at:150"
+at_fn_check_skip $at_status "$at_srcdir/synclines.at:163"
$at_failed && at_fn_log_failure
$at_traceon; }
+
+# Transform stderr into something like this:
+#
+# input.y:4: #error "4"
+#
# In case GCC displays column information, strip it down.
#
# input.y:4:2: #error "4" or
# =>
# input.y:4: #error "8"
#
+# The message may include a caret-error:
+#
+# input.y:1:2: error: #error "1"
+# #error "1"
+# ^
#
# And possibly distcc adds its bits.
#
# distcc[35882] Warning: failed to distribute input.c to chrisimac/4, running locally instead
{ set +x
-$as_echo "$at_srcdir/synclines.at:150: sed -e '/^distcc\\[[0-9]*\\] /d' \\
- -e 's/^\\([^:]*:[^:.]*\\)[.:][^:]*:\\(.*\\)\$/\\1:\\2/' \\
- -e 's/^\\([^:]*:[^:]*:\\)[^#]*\\( #error\\)/\\1\\2/' \\
- -e \"/^[^:]*: In function '[^\\']*':\$/d\" \\
- stderr"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:150"
-( $at_check_trace; sed -e '/^distcc\[[0-9]*\] /d' \
- -e 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' \
- -e 's/^\([^:]*:[^:]*:\)[^#]*\( #error\)/\1\2/' \
- -e "/^[^:]*: In function '[^\']*':$/d" \
- stderr
+$as_echo "$at_srcdir/synclines.at:163: perl -p -0777 - stderr <<\\EOF
+ s/^distcc\\[\\d+\\] .*\\n//gm;
+ s/^([^:]+:\\d+)[.:][^:]+:(.+)\$/\$1:\$2/gm;
+ s/^([^:]+:\\d+):[^#]*( #error)/\$1:\$2/gm;
+ s/^[^:]*: In function '[^']+':\\n//gm;
+ s/^\\ +#error.*\\n\\ *\\^\\n//gm;
+EOF
+"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:163"
+( $at_check_trace; perl -p -0777 - stderr <<\EOF
+ s/^distcc\[\d+\] .*\n//gm;
+ s/^([^:]+:\d+)[.:][^:]+:(.+)$/$1:$2/gm;
+ s/^([^:]+:\d+):[^#]*( #error)/$1:$2/gm;
+ s/^[^:]*: In function '[^']+':\n//gm;
+ s/^\ +#error.*\n\ *\^\n//gm;
+EOF
+
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:150"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:163"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:150: cat stdout"
-at_fn_check_prepare_trace "synclines.at:150"
+$as_echo "$at_srcdir/synclines.at:163: cat stdout"
+at_fn_check_prepare_trace "synclines.at:163"
( $at_check_trace; cat stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
echo >>"$at_stdout"; $as_echo "input.y:10: #error \"10\"
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:150"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:163"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_120
-#AT_START_121
-at_fn_group_banner 121 'synclines.at:174' \
- "Action synch line" " " 7
+#AT_STOP_122
+#AT_START_123
+at_fn_group_banner 123 'synclines.at:187' \
+ "Action syncline" " " 7
at_xfail=no
(
- $as_echo "121. $at_setup_line: testing $at_desc ..."
+ $as_echo "123. $at_setup_line: testing $at_desc ..."
$at_traceon
{ set +x
-$as_echo "$at_srcdir/synclines.at:174: \$CC \$CFLAGS \$CPPFLAGS -c syncline.c"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c syncline.c" "synclines.at:174"
+$as_echo "$at_srcdir/synclines.at:187: \$CC \$CFLAGS \$CPPFLAGS -c syncline.c"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c syncline.c" "synclines.at:187"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS -c syncline.c
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_skip $at_status "$at_srcdir/synclines.at:174"
+at_fn_check_skip $at_status "$at_srcdir/synclines.at:187"
$at_failed && at_fn_log_failure
$at_traceon; }
+
+# Transform stderr into something like this:
+#
+# input.y:4: #error "4"
+#
# In case GCC displays column information, strip it down.
#
# input.y:4:2: #error "4" or
# =>
# input.y:4: #error "8"
#
+# The message may include a caret-error:
+#
+# input.y:1:2: error: #error "1"
+# #error "1"
+# ^
#
# And possibly distcc adds its bits.
#
# distcc[35882] Warning: failed to distribute input.c to chrisimac/4, running locally instead
{ set +x
-$as_echo "$at_srcdir/synclines.at:174: sed -e '/^distcc\\[[0-9]*\\] /d' \\
- -e 's/^\\([^:]*:[^:.]*\\)[.:][^:]*:\\(.*\\)\$/\\1:\\2/' \\
- -e 's/^\\([^:]*:[^:]*:\\)[^#]*\\( #error\\)/\\1\\2/' \\
- -e \"/^[^:]*: In function '[^\\']*':\$/d\" \\
- stderr"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:174"
-( $at_check_trace; sed -e '/^distcc\[[0-9]*\] /d' \
- -e 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' \
- -e 's/^\([^:]*:[^:]*:\)[^#]*\( #error\)/\1\2/' \
- -e "/^[^:]*: In function '[^\']*':$/d" \
- stderr
+$as_echo "$at_srcdir/synclines.at:187: perl -p -0777 - stderr <<\\EOF
+ s/^distcc\\[\\d+\\] .*\\n//gm;
+ s/^([^:]+:\\d+)[.:][^:]+:(.+)\$/\$1:\$2/gm;
+ s/^([^:]+:\\d+):[^#]*( #error)/\$1:\$2/gm;
+ s/^[^:]*: In function '[^']+':\\n//gm;
+ s/^\\ +#error.*\\n\\ *\\^\\n//gm;
+EOF
+"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:187"
+( $at_check_trace; perl -p -0777 - stderr <<\EOF
+ s/^distcc\[\d+\] .*\n//gm;
+ s/^([^:]+:\d+)[.:][^:]+:(.+)$/$1:$2/gm;
+ s/^([^:]+:\d+):[^#]*( #error)/$1:$2/gm;
+ s/^[^:]*: In function '[^']+':\n//gm;
+ s/^\ +#error.*\n\ *\^\n//gm;
+EOF
+
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:174"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:187"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:174: test \"\`cat stdout\`\" = 'syncline.c:1: #error \"1\"' || exit 77"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:174"
+$as_echo "$at_srcdir/synclines.at:187: test \"\`cat stdout\`\" = 'syncline.c:1: #error \"1\"' || exit 77"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:187"
( $at_check_trace; test "`cat stdout`" = 'syncline.c:1: #error "1"' || exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:174"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:187"
$at_failed && at_fn_log_failure
$at_traceon; }
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/synclines.at:174: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/synclines.at:187: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:174"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:187"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:174"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:187"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:174: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "synclines.at:174"
+$as_echo "$at_srcdir/synclines.at:187: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "synclines.at:187"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:174"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:187"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/synclines.at:174: \$XSLTPROC \\
+$as_echo "$at_srcdir/synclines.at:187: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:174"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:187"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:174"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:187"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/synclines.at:174: \$XSLTPROC \\
+$as_echo "$at_srcdir/synclines.at:187: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:174"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:187"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:174"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:187"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/synclines.at:174: bison -o input.c input.y"
-at_fn_check_prepare_trace "synclines.at:174"
+$as_echo "$at_srcdir/synclines.at:187: bison -o input.c input.y"
+at_fn_check_prepare_trace "synclines.at:187"
( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:174"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:187"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:174: \$CC \$CFLAGS \$CPPFLAGS -c input.c"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c input.c" "synclines.at:174"
+$as_echo "$at_srcdir/synclines.at:187: \$CC \$CFLAGS \$CPPFLAGS -c input.c"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c input.c" "synclines.at:187"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS -c input.c
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_skip $at_status "$at_srcdir/synclines.at:174"
+at_fn_check_skip $at_status "$at_srcdir/synclines.at:187"
$at_failed && at_fn_log_failure
$at_traceon; }
+
+# Transform stderr into something like this:
+#
+# input.y:4: #error "4"
+#
# In case GCC displays column information, strip it down.
#
# input.y:4:2: #error "4" or
# =>
# input.y:4: #error "8"
#
+# The message may include a caret-error:
+#
+# input.y:1:2: error: #error "1"
+# #error "1"
+# ^
#
# And possibly distcc adds its bits.
#
# distcc[35882] Warning: failed to distribute input.c to chrisimac/4, running locally instead
{ set +x
-$as_echo "$at_srcdir/synclines.at:174: sed -e '/^distcc\\[[0-9]*\\] /d' \\
- -e 's/^\\([^:]*:[^:.]*\\)[.:][^:]*:\\(.*\\)\$/\\1:\\2/' \\
- -e 's/^\\([^:]*:[^:]*:\\)[^#]*\\( #error\\)/\\1\\2/' \\
- -e \"/^[^:]*: In function '[^\\']*':\$/d\" \\
- stderr"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:174"
-( $at_check_trace; sed -e '/^distcc\[[0-9]*\] /d' \
- -e 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' \
- -e 's/^\([^:]*:[^:]*:\)[^#]*\( #error\)/\1\2/' \
- -e "/^[^:]*: In function '[^\']*':$/d" \
- stderr
+$as_echo "$at_srcdir/synclines.at:187: perl -p -0777 - stderr <<\\EOF
+ s/^distcc\\[\\d+\\] .*\\n//gm;
+ s/^([^:]+:\\d+)[.:][^:]+:(.+)\$/\$1:\$2/gm;
+ s/^([^:]+:\\d+):[^#]*( #error)/\$1:\$2/gm;
+ s/^[^:]*: In function '[^']+':\\n//gm;
+ s/^\\ +#error.*\\n\\ *\\^\\n//gm;
+EOF
+"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:187"
+( $at_check_trace; perl -p -0777 - stderr <<\EOF
+ s/^distcc\[\d+\] .*\n//gm;
+ s/^([^:]+:\d+)[.:][^:]+:(.+)$/$1:$2/gm;
+ s/^([^:]+:\d+):[^#]*( #error)/$1:$2/gm;
+ s/^[^:]*: In function '[^']+':\n//gm;
+ s/^\ +#error.*\n\ *\^\n//gm;
+EOF
+
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:174"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:187"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:174: cat stdout"
-at_fn_check_prepare_trace "synclines.at:174"
+$as_echo "$at_srcdir/synclines.at:187: cat stdout"
+at_fn_check_prepare_trace "synclines.at:187"
( $at_check_trace; cat stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
echo >>"$at_stdout"; $as_echo "input.y:8: #error \"8\"
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:174"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:187"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_121
-#AT_START_122
-at_fn_group_banner 122 'synclines.at:193' \
- "Epilogue synch line" " " 7
+#AT_STOP_123
+#AT_START_124
+at_fn_group_banner 124 'synclines.at:206' \
+ "Epilogue syncline" " " 7
at_xfail=no
(
- $as_echo "122. $at_setup_line: testing $at_desc ..."
+ $as_echo "124. $at_setup_line: testing $at_desc ..."
$at_traceon
{ set +x
-$as_echo "$at_srcdir/synclines.at:193: \$CC \$CFLAGS \$CPPFLAGS -c syncline.c"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c syncline.c" "synclines.at:193"
+$as_echo "$at_srcdir/synclines.at:206: \$CC \$CFLAGS \$CPPFLAGS -c syncline.c"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c syncline.c" "synclines.at:206"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS -c syncline.c
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_skip $at_status "$at_srcdir/synclines.at:193"
+at_fn_check_skip $at_status "$at_srcdir/synclines.at:206"
$at_failed && at_fn_log_failure
$at_traceon; }
+
+# Transform stderr into something like this:
+#
+# input.y:4: #error "4"
+#
# In case GCC displays column information, strip it down.
#
# input.y:4:2: #error "4" or
# =>
# input.y:4: #error "8"
#
+# The message may include a caret-error:
+#
+# input.y:1:2: error: #error "1"
+# #error "1"
+# ^
#
# And possibly distcc adds its bits.
#
# distcc[35882] Warning: failed to distribute input.c to chrisimac/4, running locally instead
{ set +x
-$as_echo "$at_srcdir/synclines.at:193: sed -e '/^distcc\\[[0-9]*\\] /d' \\
- -e 's/^\\([^:]*:[^:.]*\\)[.:][^:]*:\\(.*\\)\$/\\1:\\2/' \\
- -e 's/^\\([^:]*:[^:]*:\\)[^#]*\\( #error\\)/\\1\\2/' \\
- -e \"/^[^:]*: In function '[^\\']*':\$/d\" \\
- stderr"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:193"
-( $at_check_trace; sed -e '/^distcc\[[0-9]*\] /d' \
- -e 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' \
- -e 's/^\([^:]*:[^:]*:\)[^#]*\( #error\)/\1\2/' \
- -e "/^[^:]*: In function '[^\']*':$/d" \
- stderr
+$as_echo "$at_srcdir/synclines.at:206: perl -p -0777 - stderr <<\\EOF
+ s/^distcc\\[\\d+\\] .*\\n//gm;
+ s/^([^:]+:\\d+)[.:][^:]+:(.+)\$/\$1:\$2/gm;
+ s/^([^:]+:\\d+):[^#]*( #error)/\$1:\$2/gm;
+ s/^[^:]*: In function '[^']+':\\n//gm;
+ s/^\\ +#error.*\\n\\ *\\^\\n//gm;
+EOF
+"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:206"
+( $at_check_trace; perl -p -0777 - stderr <<\EOF
+ s/^distcc\[\d+\] .*\n//gm;
+ s/^([^:]+:\d+)[.:][^:]+:(.+)$/$1:$2/gm;
+ s/^([^:]+:\d+):[^#]*( #error)/$1:$2/gm;
+ s/^[^:]*: In function '[^']+':\n//gm;
+ s/^\ +#error.*\n\ *\^\n//gm;
+EOF
+
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:193"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:206"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:193: test \"\`cat stdout\`\" = 'syncline.c:1: #error \"1\"' || exit 77"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:193"
+$as_echo "$at_srcdir/synclines.at:206: test \"\`cat stdout\`\" = 'syncline.c:1: #error \"1\"' || exit 77"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:206"
( $at_check_trace; test "`cat stdout`" = 'syncline.c:1: #error "1"' || exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:193"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:206"
$at_failed && at_fn_log_failure
$at_traceon; }
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/synclines.at:193: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/synclines.at:206: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:193"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:206"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:193"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:206"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:193: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "synclines.at:193"
+$as_echo "$at_srcdir/synclines.at:206: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "synclines.at:206"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:193"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:206"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/synclines.at:193: \$XSLTPROC \\
+$as_echo "$at_srcdir/synclines.at:206: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:193"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:206"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:193"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:206"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/synclines.at:193: \$XSLTPROC \\
+$as_echo "$at_srcdir/synclines.at:206: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:193"
+at_fn_check_prepare_notrace 'a `...` command substitution' "synclines.at:206"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:193"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:206"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/synclines.at:193: bison -o input.c input.y"
-at_fn_check_prepare_trace "synclines.at:193"
+$as_echo "$at_srcdir/synclines.at:206: bison -o input.c input.y"
+at_fn_check_prepare_trace "synclines.at:206"
( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:193"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:206"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:193: \$CC \$CFLAGS \$CPPFLAGS -c input.c"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c input.c" "synclines.at:193"
+$as_echo "$at_srcdir/synclines.at:206: \$CC \$CFLAGS \$CPPFLAGS -c input.c"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS -c input.c" "synclines.at:206"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS -c input.c
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_skip $at_status "$at_srcdir/synclines.at:193"
+at_fn_check_skip $at_status "$at_srcdir/synclines.at:206"
$at_failed && at_fn_log_failure
$at_traceon; }
+
+# Transform stderr into something like this:
+#
+# input.y:4: #error "4"
+#
# In case GCC displays column information, strip it down.
#
# input.y:4:2: #error "4" or
# =>
# input.y:4: #error "8"
#
+# The message may include a caret-error:
+#
+# input.y:1:2: error: #error "1"
+# #error "1"
+# ^
#
# And possibly distcc adds its bits.
#
# distcc[35882] Warning: failed to distribute input.c to chrisimac/4, running locally instead
{ set +x
-$as_echo "$at_srcdir/synclines.at:193: sed -e '/^distcc\\[[0-9]*\\] /d' \\
- -e 's/^\\([^:]*:[^:.]*\\)[.:][^:]*:\\(.*\\)\$/\\1:\\2/' \\
- -e 's/^\\([^:]*:[^:]*:\\)[^#]*\\( #error\\)/\\1\\2/' \\
- -e \"/^[^:]*: In function '[^\\']*':\$/d\" \\
- stderr"
-at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:193"
-( $at_check_trace; sed -e '/^distcc\[[0-9]*\] /d' \
- -e 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' \
- -e 's/^\([^:]*:[^:]*:\)[^#]*\( #error\)/\1\2/' \
- -e "/^[^:]*: In function '[^\']*':$/d" \
- stderr
+$as_echo "$at_srcdir/synclines.at:206: perl -p -0777 - stderr <<\\EOF
+ s/^distcc\\[\\d+\\] .*\\n//gm;
+ s/^([^:]+:\\d+)[.:][^:]+:(.+)\$/\$1:\$2/gm;
+ s/^([^:]+:\\d+):[^#]*( #error)/\$1:\$2/gm;
+ s/^[^:]*: In function '[^']+':\\n//gm;
+ s/^\\ +#error.*\\n\\ *\\^\\n//gm;
+EOF
+"
+at_fn_check_prepare_notrace 'an embedded newline' "synclines.at:206"
+( $at_check_trace; perl -p -0777 - stderr <<\EOF
+ s/^distcc\[\d+\] .*\n//gm;
+ s/^([^:]+:\d+)[.:][^:]+:(.+)$/$1:$2/gm;
+ s/^([^:]+:\d+):[^#]*( #error)/$1:$2/gm;
+ s/^[^:]*: In function '[^']+':\n//gm;
+ s/^\ +#error.*\n\ *\^\n//gm;
+EOF
+
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:193"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:206"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/synclines.at:193: cat stdout"
-at_fn_check_prepare_trace "synclines.at:193"
+$as_echo "$at_srcdir/synclines.at:206: cat stdout"
+at_fn_check_prepare_trace "synclines.at:206"
( $at_check_trace; cat stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
echo >>"$at_stdout"; $as_echo "input.y:8: #error \"8\"
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:193"
+at_fn_check_status 0 $at_status "$at_srcdir/synclines.at:206"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_122
-#AT_START_123
-at_fn_group_banner 123 'headers.at:57' \
+#AT_STOP_124
+#AT_START_125
+at_fn_group_banner 125 'headers.at:57' \
"Invalid CPP guards: --defines=input/input.h" " " 8
at_xfail=no
(
- $as_echo "123. $at_setup_line: testing $at_desc ..."
+ $as_echo "125. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_123
-#AT_START_124
-at_fn_group_banner 124 'headers.at:58' \
+#AT_STOP_125
+#AT_START_126
+at_fn_group_banner 126 'headers.at:58' \
"Invalid CPP guards: --defines=9foo.h" " " 8
at_xfail=no
(
- $as_echo "124. $at_setup_line: testing $at_desc ..."
+ $as_echo "126. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_124
-#AT_START_125
-at_fn_group_banner 125 'headers.at:59' \
+#AT_STOP_126
+#AT_START_127
+at_fn_group_banner 127 'headers.at:59' \
"Invalid CPP guards: %glr-parser --defines=input/input.h" "" 8
at_xfail=no
(
- $as_echo "125. $at_setup_line: testing $at_desc ..."
+ $as_echo "127. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_125
-#AT_START_126
-at_fn_group_banner 126 'headers.at:60' \
+#AT_STOP_127
+#AT_START_128
+at_fn_group_banner 128 'headers.at:60' \
"Invalid CPP guards: %glr-parser --defines=9foo.h" "" 8
at_xfail=no
(
- $as_echo "126. $at_setup_line: testing $at_desc ..."
+ $as_echo "128. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_126
-#AT_START_127
-at_fn_group_banner 127 'headers.at:69' \
+#AT_STOP_128
+#AT_START_129
+at_fn_group_banner 129 'headers.at:69' \
"export YYLTYPE" " " 8
at_xfail=no
(
- $as_echo "127. $at_setup_line: testing $at_desc ..."
+ $as_echo "129. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_127
-#AT_START_128
-at_fn_group_banner 128 'headers.at:125' \
+#AT_STOP_129
+#AT_START_130
+at_fn_group_banner 130 'headers.at:125' \
"Several parsers" " " 8
at_xfail=no
(
- $as_echo "128. $at_setup_line: testing $at_desc ..."
+ $as_echo "130. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
(x2_lloc).first_line = (x2_lloc).last_line = 1;
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
(x4_lloc).first_line = (x4_lloc).last_line = 1;
static size_t toknum = 0;
int res;
(void) lvalp;(void) llocp;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
(*llocp).begin.line = (*llocp).end.line = 1;
static size_t toknum = 0;
int res;
(void) lvalp;;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
static size_t toknum = 0;
int res;
(void) lvalp;;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_128
-#AT_START_129
-at_fn_group_banner 129 'actions.at:24' \
+#AT_STOP_130
+#AT_START_131
+at_fn_group_banner 131 'actions.at:24' \
"Mid-rule actions" " " 9
at_xfail=no
(
- $as_echo "129. $at_setup_line: testing $at_desc ..."
+ $as_echo "131. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_129
-#AT_START_130
-at_fn_group_banner 130 'actions.at:79' \
+#AT_STOP_131
+#AT_START_132
+at_fn_group_banner 132 'actions.at:79' \
"Exotic Dollars" " " 9
at_xfail=no
(
- $as_echo "130. $at_setup_line: testing $at_desc ..."
+ $as_echo "132. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_130
-#AT_START_131
-at_fn_group_banner 131 'actions.at:574' \
+#AT_STOP_132
+#AT_START_133
+at_fn_group_banner 133 'actions.at:574' \
"Printers and Destructors : " " " 9
at_xfail=no
(
- $as_echo "131. $at_setup_line: testing $at_desc ..."
+ $as_echo "133. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_131
-#AT_START_132
-at_fn_group_banner 132 'actions.at:575' \
+#AT_STOP_133
+#AT_START_134
+at_fn_group_banner 134 'actions.at:575' \
"Printers and Destructors with union: " " " 9
at_xfail=no
(
- $as_echo "132. $at_setup_line: testing $at_desc ..."
+ $as_echo "134. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_132
-#AT_START_133
-at_fn_group_banner 133 'actions.at:577' \
+#AT_STOP_134
+#AT_START_135
+at_fn_group_banner 135 'actions.at:577' \
"Printers and Destructors : %defines %skeleton \"lalr1.cc\"" "" 9
at_xfail=no
(
- $as_echo "133. $at_setup_line: testing $at_desc ..."
+ $as_echo "135. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_133
-#AT_START_134
-at_fn_group_banner 134 'actions.at:578' \
+#AT_STOP_135
+#AT_START_136
+at_fn_group_banner 136 'actions.at:578' \
"Printers and Destructors with union: %defines %skeleton \"lalr1.cc\"" "" 9
at_xfail=no
(
- $as_echo "134. $at_setup_line: testing $at_desc ..."
+ $as_echo "136. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_134
-#AT_START_135
-at_fn_group_banner 135 'actions.at:580' \
+#AT_STOP_136
+#AT_START_137
+at_fn_group_banner 137 'actions.at:580' \
"Printers and Destructors : %glr-parser" " " 9
at_xfail=no
(
- $as_echo "135. $at_setup_line: testing $at_desc ..."
+ $as_echo "137. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_135
-#AT_START_136
-at_fn_group_banner 136 'actions.at:581' \
+#AT_STOP_137
+#AT_START_138
+at_fn_group_banner 138 'actions.at:581' \
"Printers and Destructors with union: %glr-parser" "" 9
at_xfail=no
(
- $as_echo "136. $at_setup_line: testing $at_desc ..."
+ $as_echo "138. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_136
-#AT_START_137
-at_fn_group_banner 137 'actions.at:592' \
+#AT_STOP_138
+#AT_START_139
+at_fn_group_banner 139 'actions.at:592' \
"Default tagless %printer and %destructor" " " 9
at_xfail=no
(
- $as_echo "137. $at_setup_line: testing $at_desc ..."
+ $as_echo "139. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
yylval = res;
(yylloc).first_line = (yylloc).last_line = 1;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_137
-#AT_START_138
-at_fn_group_banner 138 'actions.at:694' \
+#AT_STOP_139
+#AT_START_140
+at_fn_group_banner 140 'actions.at:694' \
"Default tagged and per-type %printer and %destructor" "" 9
at_xfail=no
(
- $as_echo "138. $at_setup_line: testing $at_desc ..."
+ $as_echo "140. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_138
-#AT_START_139
-at_fn_group_banner 139 'actions.at:818' \
+#AT_STOP_140
+#AT_START_141
+at_fn_group_banner 141 'actions.at:818' \
"Default %printer and %destructor for user-defined end token" "" 9
at_xfail=no
(
- $as_echo "139. $at_setup_line: testing $at_desc ..."
+ $as_echo "141. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_139
-#AT_START_140
-at_fn_group_banner 140 'actions.at:929' \
+#AT_STOP_141
+#AT_START_142
+at_fn_group_banner 142 'actions.at:929' \
"Default %printer and %destructor are not for error or \$undefined" "" 9
at_xfail=no
(
- $as_echo "140. $at_setup_line: testing $at_desc ..."
+ $as_echo "142. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
yylval = res;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_140
-#AT_START_141
-at_fn_group_banner 141 'actions.at:1024' \
+#AT_STOP_142
+#AT_START_143
+at_fn_group_banner 143 'actions.at:1024' \
"Default %printer and %destructor are not for \$accept" "" 9
at_xfail=no
(
- $as_echo "141. $at_setup_line: testing $at_desc ..."
+ $as_echo "143. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_141
-#AT_START_142
-at_fn_group_banner 142 'actions.at:1089' \
+#AT_STOP_143
+#AT_START_144
+at_fn_group_banner 144 'actions.at:1089' \
"Default %printer and %destructor for mid-rule values" "" 9
at_xfail=no
(
- $as_echo "142. $at_setup_line: testing $at_desc ..."
+ $as_echo "144. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_142
-#AT_START_143
-at_fn_group_banner 143 'actions.at:1228' \
+#AT_STOP_144
+#AT_START_145
+at_fn_group_banner 145 'actions.at:1228' \
"@\$ in %initial-action implies %locations" " " 9
at_xfail=no
(
- $as_echo "143. $at_setup_line: testing $at_desc ..."
+ $as_echo "145. $at_setup_line: testing $at_desc ..."
$at_traceon
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/actions.at:1228: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/actions.at:1228: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -o input.c input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1228"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1228"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/actions.at:1228: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "actions.at:1228"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1228"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/actions.at:1228: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1228"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1228"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/actions.at:1228: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1228"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1228"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/actions.at:1228: bison -o input.c input.y"
+at_fn_check_prepare_trace "actions.at:1228"
+( $at_check_trace; bison -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1228"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+{ set +x
+$as_echo "$at_srcdir/actions.at:1228: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "actions.at:1228"
+( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1228"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+ set +x
+ $at_times_p && times >"$at_times_file"
+) 5>&1 2>&1 7>&- | eval $at_tee_pipe
+read at_status <"$at_status_file"
+#AT_STOP_145
+#AT_START_146
+at_fn_group_banner 146 'actions.at:1229' \
+ "@\$ in %destructor implies %locations" " " 9
+at_xfail=no
+(
+ $as_echo "146. $at_setup_line: testing $at_desc ..."
+ $at_traceon
+
+
+cat >input.y <<'_ATEOF'
+%code top {
+#include <config.h>
+/* We don't need perfect functions for these tests. */
+#undef malloc
+#undef memcmp
+#undef realloc
+}
+
+%code {
+ #include <stdio.h>
+static void yyerror (const char *msg);
+static int yylex (void);
+}
+
+%debug
+
+%destructor {
+ fprintf (stderr, "%d\n", @$.first_line);
+} start
+
+%%
+
+start: ;
+
+%%
+
+static int
+yylex (void)
+{
+ return 0;
+}
+
+#include <stdio.h>
+/* A C error reporting function. */
+static
+void yyerror (const char *msg)
+{
+
+ fprintf (stderr, "%s\n", msg);
+}
+int
+main (void)
+{
+ return yyparse ();
+}
+_ATEOF
+
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/actions.at:1229: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -o input.c input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1229"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1229"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/actions.at:1229: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "actions.at:1229"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1229"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/actions.at:1229: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1229"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1229"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/actions.at:1229: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1229"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1229"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/actions.at:1229: bison -o input.c input.y"
+at_fn_check_prepare_trace "actions.at:1229"
+( $at_check_trace; bison -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1229"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+{ set +x
+$as_echo "$at_srcdir/actions.at:1229: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "actions.at:1229"
+( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1229"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+ set +x
+ $at_times_p && times >"$at_times_file"
+) 5>&1 2>&1 7>&- | eval $at_tee_pipe
+read at_status <"$at_status_file"
+#AT_STOP_146
+#AT_START_147
+at_fn_group_banner 147 'actions.at:1230' \
+ "@\$ in %printer implies %locations" " " 9
+at_xfail=no
+(
+ $as_echo "147. $at_setup_line: testing $at_desc ..."
+ $at_traceon
+
+
+cat >input.y <<'_ATEOF'
+%code top {
+#include <config.h>
+/* We don't need perfect functions for these tests. */
+#undef malloc
+#undef memcmp
+#undef realloc
+}
+
+%code {
+ #include <stdio.h>
+static void yyerror (const char *msg);
+static int yylex (void);
+}
+
+%debug
+
+%printer {
+ fprintf (stderr, "%d\n", @$.first_line);
+} start
+
+%%
+
+start: ;
+
+%%
+
+static int
+yylex (void)
+{
+ return 0;
+}
+
+#include <stdio.h>
+/* A C error reporting function. */
+static
+void yyerror (const char *msg)
+{
+
+ fprintf (stderr, "%s\n", msg);
+}
+int
+main (void)
+{
+ return yyparse ();
+}
+_ATEOF
+
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/actions.at:1230: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1228"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1230"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1228"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1230"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1228: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "actions.at:1228"
+$as_echo "$at_srcdir/actions.at:1230: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "actions.at:1230"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1228"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1230"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/actions.at:1228: \$XSLTPROC \\
+$as_echo "$at_srcdir/actions.at:1230: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1228"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1230"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1228"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1230"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/actions.at:1228: \$XSLTPROC \\
+$as_echo "$at_srcdir/actions.at:1230: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1228"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1230"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1228"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1230"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/actions.at:1228: bison -o input.c input.y"
-at_fn_check_prepare_trace "actions.at:1228"
+$as_echo "$at_srcdir/actions.at:1230: bison -o input.c input.y"
+at_fn_check_prepare_trace "actions.at:1230"
( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1228"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1230"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1228: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "actions.at:1228"
+$as_echo "$at_srcdir/actions.at:1230: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "actions.at:1230"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1228"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1230"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_143
-#AT_START_144
-at_fn_group_banner 144 'actions.at:1229' \
- "@\$ in %destructor implies %locations" " " 9
+#AT_STOP_147
+#AT_START_148
+at_fn_group_banner 148 'actions.at:1362' \
+ "Qualified \$\$ in actions: yacc.c" " " 9
at_xfail=no
(
- $as_echo "144. $at_setup_line: testing $at_desc ..."
+ $as_echo "148. $at_setup_line: testing $at_desc ..."
$at_traceon
+
+
cat >input.y <<'_ATEOF'
%code top {
#include <config.h>
#undef realloc
}
-%code {
- #include <stdio.h>
-static void yyerror (const char *msg);
-static int yylex (void);
-}
-
+%skeleton "yacc.c"
+%defines // FIXME: Mandated by lalr1.cc in Bison 2.6.
+%locations // FIXME: Mandated by lalr1.cc in Bison 2.6.
%debug
+%code requires
+{
+ typedef struct sem_type
+ {
+ int ival;
+ float fval;
+ } sem_type;
-%destructor {
- fprintf (stderr, "%d\n", @$.first_line);
-} start
+# define YYSTYPE sem_type
-%%
-start: ;
+# include <stdio.h>
+ static void
+ report (FILE* yyo, int ival, float fval)
+ {
+ fprintf (yyo, "ival: %d, fval: %1.1f", ival, fval);
+ }
-%%
+}
-static int
-yylex (void)
+%code
{
- return 0;
+ static void yyerror (const char *msg);
+ static int yylex (void);
}
+%token UNTYPED
+%token <ival> INT
+%type <fval> float
+%printer { report (yyo, $$, $<fval>$); } <ival>;
+%printer { report (yyo, $<ival>$, $$ ); } <fval>;
+%printer { report (yyo, $<ival>$, $<fval>$); } <>;
+
+
+
+%initial-action
+{
+ $<ival>$ = 42;
+ $<fval>$ = 4.2;
+}
+
+%%
+float: UNTYPED INT
+{
+ $$ = $<fval>1 + $<fval>2;
+ $<ival>$ = $<ival>1 + $2;
+};
+%%
#include <stdio.h>
/* A C error reporting function. */
static
void yyerror (const char *msg)
{
+ fprintf (stderr, "%d.%d",
+ (yylloc).first_line, (yylloc).first_column);
+ if ((yylloc).first_line != (yylloc).last_line)
+ fprintf (stderr, "-%d.%d",
+ (yylloc).last_line, (yylloc).last_column - 1);
+ else if ((yylloc).first_column != (yylloc).last_column - 1)
+ fprintf (stderr, "-%d",
+ (yylloc).last_column - 1);
+ fprintf (stderr, ": ");
fprintf (stderr, "%s\n", msg);
}
+#include <assert.h>
+static
+int yylex (void)
+{
+ static int const input[] = {UNTYPED, INT, EOF};
+ static size_t toknum = 0;
+ int res;
+ ;
+ assert (toknum < sizeof input / sizeof input[0]);
+ res = input[toknum++];
+ (yylval).ival = toknum * 10; (yylval).fval = toknum / 10.0;;
+ (yylloc).first_line = (yylloc).last_line = 1;
+ (yylloc).first_column = (yylloc).last_column = toknum;
+ return res;
+}
int
main (void)
{
+ yydebug = 1;
return yyparse ();
}
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/actions.at:1229: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/actions.at:1362: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1229"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1362"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1229"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1362"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1229: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "actions.at:1229"
+$as_echo "$at_srcdir/actions.at:1362: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "actions.at:1362"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1229"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1362"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/actions.at:1229: \$XSLTPROC \\
+$as_echo "$at_srcdir/actions.at:1362: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1229"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1362"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1229"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1362"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/actions.at:1229: \$XSLTPROC \\
+$as_echo "$at_srcdir/actions.at:1362: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1229"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1362"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1229"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1362"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/actions.at:1229: bison -o input.c input.y"
-at_fn_check_prepare_trace "actions.at:1229"
+$as_echo "$at_srcdir/actions.at:1362: bison -o input.c input.y"
+at_fn_check_prepare_trace "actions.at:1362"
( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1229"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1362"
$at_failed && at_fn_log_failure
$at_traceon; }
-{ set +x
-$as_echo "$at_srcdir/actions.at:1229: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "actions.at:1229"
+ { set +x
+$as_echo "$at_srcdir/actions.at:1362: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "actions.at:1362"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1229"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1362"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+{ set +x
+$as_echo "$at_srcdir/actions.at:1362: \$PREPARSER ./input"
+at_fn_check_prepare_dynamic " $PREPARSER ./input" "actions.at:1362"
+( $at_check_trace; $PREPARSER ./input
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; tee stderr <"$at_stderr"
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1362"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+{ set +x
+$as_echo "$at_srcdir/actions.at:1362: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "actions.at:1362"
+( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; tee stderr <"$at_stderr"
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1362"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# Don't be too picky on the traces, GLR is not exactly the same. Keep
+# only the lines from the printer.
+#
+# Don't care about locations. FIXME: remove their removal when Bison
+# supports C++ without locations.
+{ set +x
+$as_echo "$at_srcdir/actions.at:1362: sed -ne 's/([-0-9.]*: /(/;/ival:/p' stderr"
+at_fn_check_prepare_trace "actions.at:1362"
+( $at_check_trace; sed -ne 's/([-0-9.]*: /(/;/ival:/p' stderr
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+echo >>"$at_stdout"; $as_echo "Reading a token: Next token is token UNTYPED (ival: 10, fval: 0.1)
+Shifting token UNTYPED (ival: 10, fval: 0.1)
+Reading a token: Next token is token INT (ival: 20, fval: 0.2)
+Shifting token INT (ival: 20, fval: 0.2)
+ \$1 = token UNTYPED (ival: 10, fval: 0.1)
+ \$2 = token INT (ival: 20, fval: 0.2)
+-> \$\$ = nterm float (ival: 30, fval: 0.3)
+Cleanup: popping nterm float (ival: 30, fval: 0.3)
+" | \
+ $at_diff - "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1362"
$at_failed && at_fn_log_failure
$at_traceon; }
+
+
set +x
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_144
-#AT_START_145
-at_fn_group_banner 145 'actions.at:1230' \
- "@\$ in %printer implies %locations" " " 9
+#AT_STOP_148
+#AT_START_149
+at_fn_group_banner 149 'actions.at:1363' \
+ "Qualified \$\$ in actions: glr.c" " " 9
at_xfail=no
(
- $as_echo "145. $at_setup_line: testing $at_desc ..."
+ $as_echo "149. $at_setup_line: testing $at_desc ..."
$at_traceon
+
+
cat >input.y <<'_ATEOF'
%code top {
#include <config.h>
#undef realloc
}
-%code {
- #include <stdio.h>
-static void yyerror (const char *msg);
-static int yylex (void);
-}
-
+%skeleton "glr.c"
+%defines // FIXME: Mandated by lalr1.cc in Bison 2.6.
+%locations // FIXME: Mandated by lalr1.cc in Bison 2.6.
%debug
+%code requires
+{
+ typedef struct sem_type
+ {
+ int ival;
+ float fval;
+ } sem_type;
-%printer {
- fprintf (stderr, "%d\n", @$.first_line);
-} start
+# define YYSTYPE sem_type
-%%
-start: ;
+# include <stdio.h>
+ static void
+ report (FILE* yyo, int ival, float fval)
+ {
+ fprintf (yyo, "ival: %d, fval: %1.1f", ival, fval);
+ }
-%%
+}
-static int
-yylex (void)
+%code
{
- return 0;
+ static void yyerror (const char *msg);
+ static int yylex (void);
+}
+
+%token UNTYPED
+%token <ival> INT
+%type <fval> float
+%printer { report (yyo, $$, $<fval>$); } <ival>;
+%printer { report (yyo, $<ival>$, $$ ); } <fval>;
+%printer { report (yyo, $<ival>$, $<fval>$); } <>;
+
+
+
+%initial-action
+{
+ $<ival>$ = 42;
+ $<fval>$ = 4.2;
}
+%%
+float: UNTYPED INT
+{
+ $$ = $<fval>1 + $<fval>2;
+ $<ival>$ = $<ival>1 + $2;
+};
+%%
#include <stdio.h>
/* A C error reporting function. */
static
void yyerror (const char *msg)
{
+ fprintf (stderr, "%d.%d",
+ (yylloc).first_line, (yylloc).first_column);
+ if ((yylloc).first_line != (yylloc).last_line)
+ fprintf (stderr, "-%d.%d",
+ (yylloc).last_line, (yylloc).last_column - 1);
+ else if ((yylloc).first_column != (yylloc).last_column - 1)
+ fprintf (stderr, "-%d",
+ (yylloc).last_column - 1);
+ fprintf (stderr, ": ");
fprintf (stderr, "%s\n", msg);
}
+#include <assert.h>
+static
+int yylex (void)
+{
+ static int const input[] = {UNTYPED, INT, EOF};
+ static size_t toknum = 0;
+ int res;
+ ;
+ assert (toknum < sizeof input / sizeof input[0]);
+ res = input[toknum++];
+ (yylval).ival = toknum * 10; (yylval).fval = toknum / 10.0;;
+ (yylloc).first_line = (yylloc).last_line = 1;
+ (yylloc).first_column = (yylloc).last_column = toknum;
+ return res;
+}
int
main (void)
{
+ yydebug = 1;
return yyparse ();
}
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/actions.at:1230: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/actions.at:1363: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1230"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1363"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1230"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1363"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1230: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "actions.at:1230"
+$as_echo "$at_srcdir/actions.at:1363: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "actions.at:1363"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1230"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1363"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/actions.at:1230: \$XSLTPROC \\
+$as_echo "$at_srcdir/actions.at:1363: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1230"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1363"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1230"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1363"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/actions.at:1230: \$XSLTPROC \\
+$as_echo "$at_srcdir/actions.at:1363: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1230"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1363"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1230"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1363"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/actions.at:1230: bison -o input.c input.y"
-at_fn_check_prepare_trace "actions.at:1230"
+$as_echo "$at_srcdir/actions.at:1363: bison -o input.c input.y"
+at_fn_check_prepare_trace "actions.at:1363"
( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1230"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1363"
$at_failed && at_fn_log_failure
$at_traceon; }
-{ set +x
-$as_echo "$at_srcdir/actions.at:1230: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "actions.at:1230"
+ { set +x
+$as_echo "$at_srcdir/actions.at:1363: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "actions.at:1363"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1230"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1363"
$at_failed && at_fn_log_failure
$at_traceon; }
+{ set +x
+$as_echo "$at_srcdir/actions.at:1363: \$PREPARSER ./input"
+at_fn_check_prepare_dynamic " $PREPARSER ./input" "actions.at:1363"
+( $at_check_trace; $PREPARSER ./input
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; tee stderr <"$at_stderr"
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1363"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+{ set +x
+$as_echo "$at_srcdir/actions.at:1363: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "actions.at:1363"
+( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; tee stderr <"$at_stderr"
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1363"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# Don't be too picky on the traces, GLR is not exactly the same. Keep
+# only the lines from the printer.
+#
+# Don't care about locations. FIXME: remove their removal when Bison
+# supports C++ without locations.
+{ set +x
+$as_echo "$at_srcdir/actions.at:1363: sed -ne 's/([-0-9.]*: /(/;/ival:/p' stderr"
+at_fn_check_prepare_trace "actions.at:1363"
+( $at_check_trace; sed -ne 's/([-0-9.]*: /(/;/ival:/p' stderr
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+echo >>"$at_stdout"; $as_echo "Reading a token: Next token is token UNTYPED (ival: 10, fval: 0.1)
+Shifting token UNTYPED (ival: 10, fval: 0.1)
+Reading a token: Next token is token INT (ival: 20, fval: 0.2)
+Shifting token INT (ival: 20, fval: 0.2)
+ \$1 = token UNTYPED (ival: 10, fval: 0.1)
+ \$2 = token INT (ival: 20, fval: 0.2)
+-> \$\$ = nterm float (ival: 30, fval: 0.3)
+Cleanup: popping nterm float (ival: 30, fval: 0.3)
+" | \
+ $at_diff - "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1363"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+
set +x
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_145
-#AT_START_146
-at_fn_group_banner 146 'actions.at:1237' \
+#AT_STOP_149
+#AT_START_150
+at_fn_group_banner 150 'actions.at:1364' \
+ "Qualified \$\$ in actions: lalr1.cc" " " 9
+at_xfail=no
+(
+ $as_echo "150. $at_setup_line: testing $at_desc ..."
+ $at_traceon
+
+
+
+
+cat >input.y <<'_ATEOF'
+%code top {
+#include <config.h>
+/* We don't need perfect functions for these tests. */
+#undef malloc
+#undef memcmp
+#undef realloc
+}
+
+%skeleton "lalr1.cc"
+%defines // FIXME: Mandated by lalr1.cc in Bison 2.6.
+%locations // FIXME: Mandated by lalr1.cc in Bison 2.6.
+%debug
+%code requires
+{
+ typedef struct sem_type
+ {
+ int ival;
+ float fval;
+ } sem_type;
+
+# define YYSTYPE sem_type
+
+
+# include <iostream>
+ static void
+ report (std::ostream& yyo, int ival, float fval)
+ {
+ yyo << "ival: " << ival << ", fval: " << fval;
+ }
+
+}
+
+%code
+{
+
+ static int yylex (yy::parser::semantic_type *lvalp, yy::parser::location_type *llocp);
+}
+
+%token UNTYPED
+%token <ival> INT
+%type <fval> float
+%printer { report (yyo, $$, $<fval>$); } <ival>;
+%printer { report (yyo, $<ival>$, $$ ); } <fval>;
+%printer { report (yyo, $<ival>$, $<fval>$); } <>;
+
+
+/* The lalr1.cc skeleton, for backward compatibility, defines
+ a constructor for position that initializes the filename. The
+ glr.cc skeleton does not (and in fact cannot: location/position
+ are stored in a union, from which objects with constructors are
+ excluded in C++). */
+%initial-action {
+ @$.initialize ();
+}
+
+
+%initial-action
+{
+ $<ival>$ = 42;
+ $<fval>$ = 4.2;
+}
+
+%%
+float: UNTYPED INT
+{
+ $$ = $<fval>1 + $<fval>2;
+ $<ival>$ = $<ival>1 + $2;
+};
+%%
+/* A C++ error reporting function. */
+void
+yy::parser::error (const location_type& l, const std::string& m)
+{
+ (void) l;
+ std::cerr << l << ": " << m << std::endl;
+}
+#include <assert.h>
+static
+int yylex (yy::parser::semantic_type *lvalp, yy::parser::location_type *llocp)
+{
+ static int const input[] = {yy::parser::token::UNTYPED,
+ yy::parser::token::INT,
+ EOF};
+ static size_t toknum = 0;
+ int res;
+ (void) lvalp;(void) llocp;
+ assert (toknum < sizeof input / sizeof input[0]);
+ res = input[toknum++];
+ (*lvalp).ival = toknum * 10; (*lvalp).fval = toknum / 10.0;;
+ (*llocp).begin.line = (*llocp).end.line = 1;
+ (*llocp).begin.column = (*llocp).end.column = toknum;
+ return res;
+}
+int
+main (void)
+{
+ yy::parser p;
+ p.set_debug_level(1);
+ return p.parse ();
+}
+_ATEOF
+
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/actions.at:1364: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -o input.cc input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1364"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -o input.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1364"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/actions.at:1364: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.cc input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.cc input.y" "actions.at:1364"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1364"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/actions.at:1364: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1364"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1364"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/actions.at:1364: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1364"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1364"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/actions.at:1364: bison -o input.cc input.y"
+at_fn_check_prepare_trace "actions.at:1364"
+( $at_check_trace; bison -o input.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1364"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+{ set +x
+$as_echo "$at_srcdir/actions.at:1364: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "actions.at:1364"
+( $at_check_trace; $BISON_CXX_WORKS
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1364"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+{ set +x
+$as_echo "$at_srcdir/actions.at:1364: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o input input.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o input input.cc $LIBS" "actions.at:1364"
+( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o input input.cc $LIBS
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1364"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+{ set +x
+$as_echo "$at_srcdir/actions.at:1364: \$PREPARSER ./input"
+at_fn_check_prepare_dynamic " $PREPARSER ./input" "actions.at:1364"
+( $at_check_trace; $PREPARSER ./input
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; tee stderr <"$at_stderr"
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1364"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+{ set +x
+$as_echo "$at_srcdir/actions.at:1364: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "actions.at:1364"
+( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; tee stderr <"$at_stderr"
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1364"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# Don't be too picky on the traces, GLR is not exactly the same. Keep
+# only the lines from the printer.
+#
+# Don't care about locations. FIXME: remove their removal when Bison
+# supports C++ without locations.
+{ set +x
+$as_echo "$at_srcdir/actions.at:1364: sed -ne 's/([-0-9.]*: /(/;/ival:/p' stderr"
+at_fn_check_prepare_trace "actions.at:1364"
+( $at_check_trace; sed -ne 's/([-0-9.]*: /(/;/ival:/p' stderr
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+echo >>"$at_stdout"; $as_echo "Reading a token: Next token is token UNTYPED (ival: 10, fval: 0.1)
+Shifting token UNTYPED (ival: 10, fval: 0.1)
+Reading a token: Next token is token INT (ival: 20, fval: 0.2)
+Shifting token INT (ival: 20, fval: 0.2)
+ \$1 = token UNTYPED (ival: 10, fval: 0.1)
+ \$2 = token INT (ival: 20, fval: 0.2)
+-> \$\$ = nterm float (ival: 30, fval: 0.3)
+Cleanup: popping nterm float (ival: 30, fval: 0.3)
+" | \
+ $at_diff - "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1364"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+
+ set +x
+ $at_times_p && times >"$at_times_file"
+) 5>&1 2>&1 7>&- | eval $at_tee_pipe
+read at_status <"$at_status_file"
+#AT_STOP_150
+#AT_START_151
+at_fn_group_banner 151 'actions.at:1365' \
+ "Qualified \$\$ in actions: glr.cc" " " 9
+at_xfail=no
+(
+ $as_echo "151. $at_setup_line: testing $at_desc ..."
+ $at_traceon
+
+
+
+
+cat >input.y <<'_ATEOF'
+%code top {
+#include <config.h>
+/* We don't need perfect functions for these tests. */
+#undef malloc
+#undef memcmp
+#undef realloc
+}
+
+%skeleton "glr.cc"
+%defines // FIXME: Mandated by lalr1.cc in Bison 2.6.
+%locations // FIXME: Mandated by lalr1.cc in Bison 2.6.
+%debug
+%code requires
+{
+ typedef struct sem_type
+ {
+ int ival;
+ float fval;
+ } sem_type;
+
+# define YYSTYPE sem_type
+
+
+# include <iostream>
+ static void
+ report (std::ostream& yyo, int ival, float fval)
+ {
+ yyo << "ival: " << ival << ", fval: " << fval;
+ }
+
+}
+
+%code
+{
+
+ static int yylex (yy::parser::semantic_type *lvalp, yy::parser::location_type *llocp);
+}
+
+%token UNTYPED
+%token <ival> INT
+%type <fval> float
+%printer { report (yyo, $$, $<fval>$); } <ival>;
+%printer { report (yyo, $<ival>$, $$ ); } <fval>;
+%printer { report (yyo, $<ival>$, $<fval>$); } <>;
+
+
+/* The lalr1.cc skeleton, for backward compatibility, defines
+ a constructor for position that initializes the filename. The
+ glr.cc skeleton does not (and in fact cannot: location/position
+ are stored in a union, from which objects with constructors are
+ excluded in C++). */
+%initial-action {
+ @$.initialize ();
+}
+
+
+%initial-action
+{
+ $<ival>$ = 42;
+ $<fval>$ = 4.2;
+}
+
+%%
+float: UNTYPED INT
+{
+ $$ = $<fval>1 + $<fval>2;
+ $<ival>$ = $<ival>1 + $2;
+};
+%%
+/* A C++ error reporting function. */
+void
+yy::parser::error (const location_type& l, const std::string& m)
+{
+ (void) l;
+ std::cerr << l << ": " << m << std::endl;
+}
+#include <assert.h>
+static
+int yylex (yy::parser::semantic_type *lvalp, yy::parser::location_type *llocp)
+{
+ static int const input[] = {yy::parser::token::UNTYPED,
+ yy::parser::token::INT,
+ EOF};
+ static size_t toknum = 0;
+ int res;
+ (void) lvalp;(void) llocp;
+ assert (toknum < sizeof input / sizeof input[0]);
+ res = input[toknum++];
+ (*lvalp).ival = toknum * 10; (*lvalp).fval = toknum / 10.0;;
+ (*llocp).begin.line = (*llocp).end.line = 1;
+ (*llocp).begin.column = (*llocp).end.column = toknum;
+ return res;
+}
+int
+main (void)
+{
+ yy::parser p;
+ p.set_debug_level(1);
+ return p.parse ();
+}
+_ATEOF
+
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/actions.at:1365: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -o input.cc input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1365"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -o input.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1365"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/actions.at:1365: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.cc input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.cc input.y" "actions.at:1365"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1365"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/actions.at:1365: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1365"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1365"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/actions.at:1365: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1365"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1365"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/actions.at:1365: bison -o input.cc input.y"
+at_fn_check_prepare_trace "actions.at:1365"
+( $at_check_trace; bison -o input.cc input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1365"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+{ set +x
+$as_echo "$at_srcdir/actions.at:1365: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "actions.at:1365"
+( $at_check_trace; $BISON_CXX_WORKS
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1365"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+{ set +x
+$as_echo "$at_srcdir/actions.at:1365: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o input input.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o input input.cc $LIBS" "actions.at:1365"
+( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o input input.cc $LIBS
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1365"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+{ set +x
+$as_echo "$at_srcdir/actions.at:1365: \$PREPARSER ./input"
+at_fn_check_prepare_dynamic " $PREPARSER ./input" "actions.at:1365"
+( $at_check_trace; $PREPARSER ./input
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; tee stderr <"$at_stderr"
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1365"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+{ set +x
+$as_echo "$at_srcdir/actions.at:1365: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "actions.at:1365"
+( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; tee stderr <"$at_stderr"
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1365"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# Don't be too picky on the traces, GLR is not exactly the same. Keep
+# only the lines from the printer.
+#
+# Don't care about locations. FIXME: remove their removal when Bison
+# supports C++ without locations.
+{ set +x
+$as_echo "$at_srcdir/actions.at:1365: sed -ne 's/([-0-9.]*: /(/;/ival:/p' stderr"
+at_fn_check_prepare_trace "actions.at:1365"
+( $at_check_trace; sed -ne 's/([-0-9.]*: /(/;/ival:/p' stderr
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+echo >>"$at_stdout"; $as_echo "Reading a token: Next token is token UNTYPED (ival: 10, fval: 0.1)
+Shifting token UNTYPED (ival: 10, fval: 0.1)
+Reading a token: Next token is token INT (ival: 20, fval: 0.2)
+Shifting token INT (ival: 20, fval: 0.2)
+ \$1 = token UNTYPED (ival: 10, fval: 0.1)
+ \$2 = token INT (ival: 20, fval: 0.2)
+-> \$\$ = nterm float (ival: 30, fval: 0.3)
+Cleanup: popping nterm float (ival: 30, fval: 0.3)
+" | \
+ $at_diff - "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1365"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+
+ set +x
+ $at_times_p && times >"$at_times_file"
+) 5>&1 2>&1 7>&- | eval $at_tee_pipe
+read at_status <"$at_status_file"
+#AT_STOP_151
+#AT_START_152
+at_fn_group_banner 152 'actions.at:1373' \
"Fix user actions without a trailing semicolon" " " 9
at_xfail=no
(
- $as_echo "146. $at_setup_line: testing $at_desc ..."
+ $as_echo "152. $at_setup_line: testing $at_desc ..."
$at_traceon
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/actions.at:1294: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/actions.at:1430: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1294"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1430"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1294"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1430"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1294: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "actions.at:1294"
+$as_echo "$at_srcdir/actions.at:1430: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "actions.at:1430"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1294"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1430"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/actions.at:1294: \$XSLTPROC \\
+$as_echo "$at_srcdir/actions.at:1430: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1294"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1430"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1294"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1430"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/actions.at:1294: \$XSLTPROC \\
+$as_echo "$at_srcdir/actions.at:1430: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1294"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1430"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1294"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1430"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/actions.at:1294: bison -o input.c input.y"
-at_fn_check_prepare_trace "actions.at:1294"
+$as_echo "$at_srcdir/actions.at:1430: bison -o input.c input.y"
+at_fn_check_prepare_trace "actions.at:1430"
( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1294"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1430"
$at_failed && at_fn_log_failure
$at_traceon; }
# Run with -Werror.
{ set +x
-$as_echo "$at_srcdir/actions.at:1294: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Werror"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Werror" "actions.at:1294"
+$as_echo "$at_srcdir/actions.at:1430: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Werror"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Werror" "actions.at:1430"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -o input.c input.y -Werror
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/actions.at:1294"
+at_fn_check_status 1 $at_status "$at_srcdir/actions.at:1430"
$at_failed && at_fn_log_failure
$at_traceon; }
sed -n "$at_bison_check_first,$at_bison_check_last"p \
at-bison-check-warnings >> experr
{ set +x
-$as_echo "$at_srcdir/actions.at:1294: sed 's,.*/\\(bison: warnings being treated as errors\\)\$,\\1,' \\
+$as_echo "$at_srcdir/actions.at:1430: sed 's,.*/\\(bison: warnings being treated as errors\\)\$,\\1,' \\
stderr 1>&2"
-at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1294"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1430"
( $at_check_trace; sed 's,.*/\(bison: warnings being treated as errors\)$,\1,' \
stderr 1>&2
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
$at_diff experr "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1294"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1430"
$at_failed && at_fn_log_failure
$at_traceon; }
# Now check --warnings=error.
cp stderr experr
{ set +x
-$as_echo "$at_srcdir/actions.at:1294: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=error"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=error" "actions.at:1294"
+$as_echo "$at_srcdir/actions.at:1430: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=error"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=error" "actions.at:1430"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=error
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
$at_diff experr "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/actions.at:1294"
+at_fn_check_status 1 $at_status "$at_srcdir/actions.at:1430"
$at_failed && at_fn_log_failure
$at_traceon; }
# -Werror doesn't change the exit status when -Wnone or
# --warnings=none is specified.
{ set +x
-$as_echo "$at_srcdir/actions.at:1294: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Wnone -Werror"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Wnone -Werror" "actions.at:1294"
+$as_echo "$at_srcdir/actions.at:1430: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Wnone -Werror"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Wnone -Werror" "actions.at:1430"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -o input.c input.y -Wnone -Werror
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1294"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1430"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1294: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=none -Werror"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=none -Werror" "actions.at:1294"
+$as_echo "$at_srcdir/actions.at:1430: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=none -Werror"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=none -Werror" "actions.at:1430"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=none -Werror
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1294"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1430"
$at_failed && at_fn_log_failure
$at_traceon; }
fi
{ set +x
-$as_echo "$at_srcdir/actions.at:1333: perl -0777 -ne '
+$as_echo "$at_srcdir/actions.at:1469: perl -0777 -ne '
my \$count = 0;
s{/\\* TEST:N:2 \\*/ \\}\$}{ ++\$count; \"\" }gem;
printf \"\$count\\n\";' input.c"
-at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1333"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1469"
( $at_check_trace; perl -0777 -ne '
my $count = 0;
s{/\* TEST:N:2 \*/ \}$}{ ++$count; "" }gem;
echo >>"$at_stdout"; $as_echo "3
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1333"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1469"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1334: perl -0777 -ne '
+$as_echo "$at_srcdir/actions.at:1470: perl -0777 -ne '
my \$count = 0;
s{/\\* TEST:Y:2 \\*/ ;\\}\$}{ ++\$count; \"\" }gem;
printf \"\$count\\n\";' input.c"
-at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1334"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1470"
( $at_check_trace; perl -0777 -ne '
my $count = 0;
s{/\* TEST:Y:2 \*/ ;\}$}{ ++$count; "" }gem;
echo >>"$at_stdout"; $as_echo "6
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1334"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1470"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1335: perl -0777 -ne '
+$as_echo "$at_srcdir/actions.at:1471: perl -0777 -ne '
my \$count = 0;
s{// TEST:N:1 [;{}]*\\n\\}\$}{ ++\$count; \"\" }gem;
printf \"\$count\\n\";' input.c"
-at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1335"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1471"
( $at_check_trace; perl -0777 -ne '
my $count = 0;
s{// TEST:N:1 [;{}]*\n\}$}{ ++$count; "" }gem;
echo >>"$at_stdout"; $as_echo "6
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1335"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1471"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1336: perl -0777 -ne '
+$as_echo "$at_srcdir/actions.at:1472: perl -0777 -ne '
my \$count = 0;
s{// TEST:Y:1 [;{}]*\\n;\\}\$}{ ++\$count; \"\" }gem;
printf \"\$count\\n\";' input.c"
-at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1336"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1472"
( $at_check_trace; perl -0777 -ne '
my $count = 0;
s{// TEST:Y:1 [;{}]*\n;\}$}{ ++$count; "" }gem;
echo >>"$at_stdout"; $as_echo "12
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1336"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1472"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1337: perl -0777 -ne '
+$as_echo "$at_srcdir/actions.at:1473: perl -0777 -ne '
my \$count = 0;
s{#define TEST_MACRO_N \\\\\\n\\[\\]\"broken\\\\\" \\\$ \\@ \\\$\\\$ \\@\\\$ \\[\\];\\\\\\nstring;\"\\}}{ ++\$count; \"\" }gem;
printf \"\$count\\n\";' input.c"
-at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1337"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1473"
( $at_check_trace; perl -0777 -ne '
my $count = 0;
s{#define TEST_MACRO_N \\\n\[\]"broken\\" \$ \@ \$\$ \@\$ \[\];\\\nstring;"\}}{ ++$count; "" }gem;
echo >>"$at_stdout"; $as_echo "2
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1337"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1473"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_146
-#AT_START_147
-at_fn_group_banner 147 'actions.at:1346' \
+#AT_STOP_152
+#AT_START_153
+at_fn_group_banner 153 'actions.at:1482' \
"Destroying lookahead assigned by semantic action" "" 9
at_xfail=no
(
- $as_echo "147. $at_setup_line: testing $at_desc ..."
+ $as_echo "153. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/actions.at:1392: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/actions.at:1528: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1392"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1528"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1392"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1528"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1392: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "actions.at:1392"
+$as_echo "$at_srcdir/actions.at:1528: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "actions.at:1528"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1392"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1528"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/actions.at:1392: \$XSLTPROC \\
+$as_echo "$at_srcdir/actions.at:1528: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1392"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1528"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1392"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1528"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/actions.at:1392: \$XSLTPROC \\
+$as_echo "$at_srcdir/actions.at:1528: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1392"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1528"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1392"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1528"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/actions.at:1392: bison -o input.c input.y"
-at_fn_check_prepare_trace "actions.at:1392"
+$as_echo "$at_srcdir/actions.at:1528: bison -o input.c input.y"
+at_fn_check_prepare_trace "actions.at:1528"
( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1392"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1528"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1393: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "actions.at:1393"
+$as_echo "$at_srcdir/actions.at:1529: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "actions.at:1529"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1393"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1529"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1394: \$PREPARSER ./input"
-at_fn_check_prepare_dynamic " $PREPARSER ./input" "actions.at:1394"
+$as_echo "$at_srcdir/actions.at:1530: \$PREPARSER ./input"
+at_fn_check_prepare_dynamic " $PREPARSER ./input" "actions.at:1530"
( $at_check_trace; $PREPARSER ./input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1394"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1530"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1394: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "actions.at:1394"
+$as_echo "$at_srcdir/actions.at:1530: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "actions.at:1530"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1394"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1530"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_147
-#AT_START_148
-at_fn_group_banner 148 'actions.at:1405' \
+#AT_STOP_153
+#AT_START_154
+at_fn_group_banner 154 'actions.at:1541' \
"YYBACKUP" " " 9
at_xfail=no
(
- $as_echo "148. $at_setup_line: testing $at_desc ..."
+ $as_echo "154. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
(void) lvalp;;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
*lvalp = (toknum + 1) * 10;
return res;
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/actions.at:1446: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/actions.at:1582: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1446"
+at_fn_check_prepare_notrace 'an embedded newline' "actions.at:1582"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1446"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1582"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1446: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "actions.at:1446"
+$as_echo "$at_srcdir/actions.at:1582: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "actions.at:1582"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1446"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1582"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/actions.at:1446: \$XSLTPROC \\
+$as_echo "$at_srcdir/actions.at:1582: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1446"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1582"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1446"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1582"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/actions.at:1446: \$XSLTPROC \\
+$as_echo "$at_srcdir/actions.at:1582: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1446"
+at_fn_check_prepare_notrace 'a `...` command substitution' "actions.at:1582"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1446"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1582"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/actions.at:1446: bison -o input.c input.y"
-at_fn_check_prepare_trace "actions.at:1446"
+$as_echo "$at_srcdir/actions.at:1582: bison -o input.c input.y"
+at_fn_check_prepare_trace "actions.at:1582"
( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1446"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1582"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1447: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "actions.at:1447"
+$as_echo "$at_srcdir/actions.at:1583: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "actions.at:1583"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1447"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1583"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1448: \$PREPARSER ./input"
-at_fn_check_prepare_dynamic " $PREPARSER ./input" "actions.at:1448"
+$as_echo "$at_srcdir/actions.at:1584: \$PREPARSER ./input"
+at_fn_check_prepare_dynamic " $PREPARSER ./input" "actions.at:1584"
( $at_check_trace; $PREPARSER ./input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
a: 456
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1448"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1584"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/actions.at:1448: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "actions.at:1448"
+$as_echo "$at_srcdir/actions.at:1584: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "actions.at:1584"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1448"
+at_fn_check_status 0 $at_status "$at_srcdir/actions.at:1584"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_148
-#AT_START_149
-at_fn_group_banner 149 'conflicts.at:31' \
+#AT_STOP_154
+#AT_START_155
+at_fn_group_banner 155 'conflicts.at:31' \
"S/R in initial" " " 10
at_xfail=no
(
- $as_echo "149. $at_setup_line: testing $at_desc ..."
+ $as_echo "155. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_149
-#AT_START_150
-at_fn_group_banner 150 'conflicts.at:51' \
+#AT_STOP_155
+#AT_START_156
+at_fn_group_banner 156 'conflicts.at:51' \
"%nonassoc and eof" " " 10
at_xfail=no
(
- $as_echo "150. $at_setup_line: testing $at_desc ..."
+ $as_echo "156. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_150
-#AT_START_151
-at_fn_group_banner 151 'conflicts.at:149' \
+#AT_STOP_156
+#AT_START_157
+at_fn_group_banner 157 'conflicts.at:149' \
"%error-verbose and consistent errors" " " 10
at_xfail=no
(
- $as_echo "151. $at_setup_line: testing $at_desc ..."
+ $as_echo "157. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_151
-#AT_START_152
-at_fn_group_banner 152 'conflicts.at:450' \
+#AT_STOP_157
+#AT_START_158
+at_fn_group_banner 158 'conflicts.at:450' \
"LAC: %nonassoc requires splitting canonical LR states" "" 10
at_xfail=no
(
- $as_echo "152. $at_setup_line: testing $at_desc ..."
+ $as_echo "158. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_152
-#AT_START_153
-at_fn_group_banner 153 'conflicts.at:540' \
+#AT_STOP_158
+#AT_START_159
+at_fn_group_banner 159 'conflicts.at:540' \
"Unresolved SR Conflicts" " " 10
at_xfail=no
(
- $as_echo "153. $at_setup_line: testing $at_desc ..."
+ $as_echo "159. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_153
-#AT_START_154
-at_fn_group_banner 154 'conflicts.at:647' \
+#AT_STOP_159
+#AT_START_160
+at_fn_group_banner 160 'conflicts.at:647' \
"Resolved SR Conflicts" " " 10
at_xfail=no
(
- $as_echo "154. $at_setup_line: testing $at_desc ..."
+ $as_echo "160. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_154
-#AT_START_155
-at_fn_group_banner 155 'conflicts.at:769' \
+#AT_STOP_160
+#AT_START_161
+at_fn_group_banner 161 'conflicts.at:769' \
"Defaulted Conflicted Reduction" " " 10
at_xfail=no
(
- $as_echo "155. $at_setup_line: testing $at_desc ..."
+ $as_echo "161. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_155
-#AT_START_156
-at_fn_group_banner 156 'conflicts.at:888' \
+#AT_STOP_161
+#AT_START_162
+at_fn_group_banner 162 'conflicts.at:888' \
"%expect not enough" " " 10
at_xfail=no
(
- $as_echo "156. $at_setup_line: testing $at_desc ..."
+ $as_echo "162. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_156
-#AT_START_157
-at_fn_group_banner 157 'conflicts.at:908' \
+#AT_STOP_162
+#AT_START_163
+at_fn_group_banner 163 'conflicts.at:908' \
"%expect right" " " 10
at_xfail=no
(
- $as_echo "157. $at_setup_line: testing $at_desc ..."
+ $as_echo "163. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_157
-#AT_START_158
-at_fn_group_banner 158 'conflicts.at:925' \
+#AT_STOP_163
+#AT_START_164
+at_fn_group_banner 164 'conflicts.at:925' \
"%expect too much" " " 10
at_xfail=no
(
- $as_echo "158. $at_setup_line: testing $at_desc ..."
+ $as_echo "164. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_158
-#AT_START_159
-at_fn_group_banner 159 'conflicts.at:945' \
+#AT_STOP_164
+#AT_START_165
+at_fn_group_banner 165 'conflicts.at:945' \
"%expect with reduce conflicts" " " 10
at_xfail=no
(
- $as_echo "159. $at_setup_line: testing $at_desc ..."
+ $as_echo "165. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_159
-#AT_START_160
-at_fn_group_banner 160 'conflicts.at:965' \
+#AT_STOP_165
+#AT_START_166
+at_fn_group_banner 166 'conflicts.at:965' \
"%prec with user string" " " 10
at_xfail=no
(
- $as_echo "160. $at_setup_line: testing $at_desc ..."
+ $as_echo "166. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_160
-#AT_START_161
-at_fn_group_banner 161 'conflicts.at:982' \
+#AT_STOP_166
+#AT_START_167
+at_fn_group_banner 167 'conflicts.at:982' \
"%no-default-prec without %prec" " " 10
at_xfail=no
(
- $as_echo "161. $at_setup_line: testing $at_desc ..."
+ $as_echo "167. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_161
-#AT_START_162
-at_fn_group_banner 162 'conflicts.at:1008' \
+#AT_STOP_167
+#AT_START_168
+at_fn_group_banner 168 'conflicts.at:1008' \
"%no-default-prec with %prec" " " 10
at_xfail=no
(
- $as_echo "162. $at_setup_line: testing $at_desc ..."
+ $as_echo "168. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_162
-#AT_START_163
-at_fn_group_banner 163 'conflicts.at:1032' \
+#AT_STOP_168
+#AT_START_169
+at_fn_group_banner 169 'conflicts.at:1032' \
"%default-prec" " " 10
at_xfail=no
(
- $as_echo "163. $at_setup_line: testing $at_desc ..."
+ $as_echo "169. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_163
-#AT_START_164
-at_fn_group_banner 164 'conflicts.at:1056' \
+#AT_STOP_169
+#AT_START_170
+at_fn_group_banner 170 'conflicts.at:1056' \
"Unreachable States After Conflict Resolution" " " 10
at_xfail=no
(
- $as_echo "164. $at_setup_line: testing $at_desc ..."
+ $as_echo "170. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_164
-#AT_START_165
-at_fn_group_banner 165 'conflicts.at:1267' \
+#AT_STOP_170
+#AT_START_171
+at_fn_group_banner 171 'conflicts.at:1267' \
"Solved conflicts report for multiple reductions in a state" "" 10
at_xfail=no
(
- $as_echo "165. $at_setup_line: testing $at_desc ..."
+ $as_echo "171. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_165
-#AT_START_166
-at_fn_group_banner 166 'conflicts.at:1347' \
+#AT_STOP_171
+#AT_START_172
+at_fn_group_banner 172 'conflicts.at:1347' \
"%nonassoc error actions for multiple reductions in a state" "" 10
at_xfail=no
(
- $as_echo "166. $at_setup_line: testing $at_desc ..."
+ $as_echo "172. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_166
-#AT_START_167
-at_fn_group_banner 167 'conflicts.at:1416' \
+#AT_STOP_172
+#AT_START_173
+at_fn_group_banner 173 'conflicts.at:1416' \
"-W versus %expect and %expect-rr" " " 10
at_xfail=no
(
- $as_echo "167. $at_setup_line: testing $at_desc ..."
+ $as_echo "173. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_167
-#AT_START_168
-at_fn_group_banner 168 'calc.at:616' \
+#AT_STOP_173
+#AT_START_174
+at_fn_group_banner 174 'calc.at:630' \
"Calculator " " " 11
at_xfail=no
(
- $as_echo "168. $at_setup_line: testing $at_desc ..."
+ $as_echo "174. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:616: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:630: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:616"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:630"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:616: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:630"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:616: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:630: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:616"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:630"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:616: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:630: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:616"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:630"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:616: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:616: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:630"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:630: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:630"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:630: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:630"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
# Test the priorities.
cat >input <<'_ATEOF'
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:616: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:616: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:616: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:616: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:616: cat stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: cat stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:616: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:616: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:616: cat stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: cat stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:616: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:616: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:616: cat stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: cat stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:616: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:616: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:616: cat stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: cat stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:616: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:616: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:616: cat stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: cat stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:616: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:630"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:616: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:616: cat stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: cat stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:616: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:616: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:616: cat stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: cat stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:616: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:616: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:616: cat stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: cat stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:616: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:616: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:616: cat stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: cat stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:616: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:616: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:616: cat stderr"
-at_fn_check_prepare_trace "calc.at:616"
+$as_echo "$at_srcdir/calc.at:630: cat stderr"
+at_fn_check_prepare_trace "calc.at:630"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:616"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_168
-#AT_START_169
-at_fn_group_banner 169 'calc.at:618' \
+#AT_STOP_174
+#AT_START_175
+at_fn_group_banner 175 'calc.at:632' \
"Calculator %defines" " " 11
at_xfail=no
(
- $as_echo "169. $at_setup_line: testing $at_desc ..."
+ $as_echo "175. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:618: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:632: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:618"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:632"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:618: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:632"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:618: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:632: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:618"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:632"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:618: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:632: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:618"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:632"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:618: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:618: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:632"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:632: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:632"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:632: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:632"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:632: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:632"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:632: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:632"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:618: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:632"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:618: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:618: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:632"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:618: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:618: cat stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: cat stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:618: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:632"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:618: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:618: cat stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: cat stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:618: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:632"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:618: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:618: cat stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: cat stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:618: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:632"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:618: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:618: cat stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: cat stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:618: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:632"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:618: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:618: cat stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: cat stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:618: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:632"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:618: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:618: cat stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: cat stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:618: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:632"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:618: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:618: cat stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: cat stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:618: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:632"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:618: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:618: cat stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: cat stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:618: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:632"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:618: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:618: cat stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: cat stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:618: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:632"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:618: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:618: cat stderr"
-at_fn_check_prepare_trace "calc.at:618"
+$as_echo "$at_srcdir/calc.at:632: cat stderr"
+at_fn_check_prepare_trace "calc.at:632"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:618"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:632"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_169
-#AT_START_170
-at_fn_group_banner 170 'calc.at:619' \
+#AT_STOP_175
+#AT_START_176
+at_fn_group_banner 176 'calc.at:633' \
"Calculator %locations" " " 11
at_xfail=no
(
- $as_echo "170. $at_setup_line: testing $at_desc ..."
+ $as_echo "176. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:619: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:633: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:619"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:633"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:619: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:633"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:619: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:633: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:619"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:633"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:619: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:633: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:619"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:633"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:619: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:619: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:633"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:633: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:633"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:633: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:633"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
+
# Test the priorities.
cat >input <<'_ATEOF'
1 + 2 * 3 = 7
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:619: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:619: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:619: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:619: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:619: cat stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: cat stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:619: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:619: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:619: cat stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: cat stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:619: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:619: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:619: cat stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: cat stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:619: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:619: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:619: cat stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: cat stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:619: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:619: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:619: cat stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: cat stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:619: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:633"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:619: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:619: cat stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: cat stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:619: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:619: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:619: cat stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: cat stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:619: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:619: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:619: cat stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: cat stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:619: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:619: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:619: cat stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: cat stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:619: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:619: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:619: cat stderr"
-at_fn_check_prepare_trace "calc.at:619"
+$as_echo "$at_srcdir/calc.at:633: cat stderr"
+at_fn_check_prepare_trace "calc.at:633"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:619"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_170
-#AT_START_171
-at_fn_group_banner 171 'calc.at:621' \
+#AT_STOP_176
+#AT_START_177
+at_fn_group_banner 177 'calc.at:635' \
"Calculator %name-prefix=\"calc\"" " " 11
at_xfail=no
(
- $as_echo "171. $at_setup_line: testing $at_desc ..."
+ $as_echo "177. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:621: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:635: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:621"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:635"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:621: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:635"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:621: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:635: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:621"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:635"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:621: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:635: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:621"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:635"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:621: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:621: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:635"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:635: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:635"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:635: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:635"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
# Test the priorities.
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:621: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:621: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:621: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:621: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:621: cat stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: cat stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:621: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:621: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:621: cat stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: cat stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:621: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:621: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:621: cat stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: cat stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:621: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:621: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:621: cat stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: cat stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:621: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:621: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:621: cat stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: cat stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:621: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:635"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:621: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:621: cat stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: cat stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:621: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:621: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:621: cat stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: cat stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:621: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:621: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:621: cat stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: cat stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:621: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:621: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:621: cat stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: cat stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:621: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:621: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:621: cat stderr"
-at_fn_check_prepare_trace "calc.at:621"
+$as_echo "$at_srcdir/calc.at:635: cat stderr"
+at_fn_check_prepare_trace "calc.at:635"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:621"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_171
-#AT_START_172
-at_fn_group_banner 172 'calc.at:622' \
+#AT_STOP_177
+#AT_START_178
+at_fn_group_banner 178 'calc.at:636' \
"Calculator %verbose" " " 11
at_xfail=no
(
- $as_echo "172. $at_setup_line: testing $at_desc ..."
+ $as_echo "178. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:622: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:636: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:622"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:636"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:622: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:636"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:622: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:636: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:622"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:636"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:622: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:636: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:622"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:636"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:622: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:622: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:636"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:636: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:636"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:636: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:636"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
# Test the priorities.
cat >input <<'_ATEOF'
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:622: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:636"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:622: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:622: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:636"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:622: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:622: cat stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: cat stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:622: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:636"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:622: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:622: cat stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: cat stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:622: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:636"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:622: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:622: cat stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: cat stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:622: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:636"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:622: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:622: cat stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: cat stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:622: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:636"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:622: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:622: cat stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: cat stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:622: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:636"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:622: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:622: cat stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: cat stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:622: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:636"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:622: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:622: cat stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: cat stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:622: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:636"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:622: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:622: cat stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: cat stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:622: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:636"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:622: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:622: cat stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: cat stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:622: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:636"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:622: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:622: cat stderr"
-at_fn_check_prepare_trace "calc.at:622"
+$as_echo "$at_srcdir/calc.at:636: cat stderr"
+at_fn_check_prepare_trace "calc.at:636"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:622"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:636"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_172
-#AT_START_173
-at_fn_group_banner 173 'calc.at:623' \
+#AT_STOP_178
+#AT_START_179
+at_fn_group_banner 179 'calc.at:637' \
"Calculator %yacc" " " 11
at_xfail=no
(
- $as_echo "173. $at_setup_line: testing $at_desc ..."
+ $as_echo "179. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:623: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:637: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:623"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:637"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:623: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:637"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:623: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:637: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:623"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:637"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:623: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:637: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:623"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:637"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:623: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:623: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:637"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:637: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:637"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:637: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:637"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
# Test the priorities.
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:623: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:623: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:623: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:623: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:623: cat stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: cat stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:623: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:623: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:623: cat stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: cat stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:623: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:623: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:623: cat stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: cat stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:623: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:623: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:623: cat stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: cat stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:623: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:623: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:623: cat stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: cat stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:623: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:637"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:623: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:623: cat stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: cat stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:623: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:623: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:623: cat stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: cat stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:623: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:623: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:623: cat stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: cat stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:623: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:623: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:623: cat stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: cat stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:623: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:623: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:623: cat stderr"
-at_fn_check_prepare_trace "calc.at:623"
+$as_echo "$at_srcdir/calc.at:637: cat stderr"
+at_fn_check_prepare_trace "calc.at:637"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:623"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_173
-#AT_START_174
-at_fn_group_banner 174 'calc.at:624' \
+#AT_STOP_179
+#AT_START_180
+at_fn_group_banner 180 'calc.at:638' \
"Calculator %error-verbose" " " 11
at_xfail=no
(
- $as_echo "174. $at_setup_line: testing $at_desc ..."
+ $as_echo "180. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:624: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:638: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:624"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:638"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:624: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:638"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:624: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:638: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:624"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:638"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:624: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:638: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:624"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:638"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:624: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:624: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:638"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:638: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:638"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:638: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:638"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
# Test the priorities.
cat >input <<'_ATEOF'
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:624: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:624: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:624: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:624: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:624: cat stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: cat stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:624: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:624: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:624: cat stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: cat stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:624: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:624: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:624: cat stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: cat stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:624: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:624: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:624: cat stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: cat stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:624: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:624: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:624: cat stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: cat stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:624: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:638"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:624: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:624: cat stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: cat stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:624: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:624: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:624: cat stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: cat stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:624: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:624: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:624: cat stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: cat stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:624: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:624: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:624: cat stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: cat stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:624: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:624: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:624: cat stderr"
-at_fn_check_prepare_trace "calc.at:624"
+$as_echo "$at_srcdir/calc.at:638: cat stderr"
+at_fn_check_prepare_trace "calc.at:638"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:624"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_174
-#AT_START_175
-at_fn_group_banner 175 'calc.at:626' \
+#AT_STOP_180
+#AT_START_181
+at_fn_group_banner 181 'calc.at:640' \
"Calculator %define api.pure %locations" " " 11
at_xfail=no
(
- $as_echo "175. $at_setup_line: testing $at_desc ..."
+ $as_echo "181. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (YYSTYPE *lvalp, YYLTYPE *llocp);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:626: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:640: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:626"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:640"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:626: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:640"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:626: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:640: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:626"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:640"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:626: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:640: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:626"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:640"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:626: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:626: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:640"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:640: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:640"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:640: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:640"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
+
# Test the priorities.
cat >input <<'_ATEOF'
1 + 2 * 3 = 7
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:626: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:626: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:626: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:626: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:626: cat stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: cat stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:626: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:626: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:626: cat stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: cat stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:626: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:626: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:626: cat stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: cat stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:626: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:626: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:626: cat stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: cat stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:626: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:626: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:626: cat stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: cat stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:626: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:640"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:626: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:626: cat stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: cat stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:626: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:626: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:626: cat stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: cat stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:626: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:626: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:626: cat stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: cat stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:626: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:626: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:626: cat stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: cat stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:626: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:626: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:626: cat stderr"
-at_fn_check_prepare_trace "calc.at:626"
+$as_echo "$at_srcdir/calc.at:640: cat stderr"
+at_fn_check_prepare_trace "calc.at:640"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:626"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_175
-#AT_START_176
-at_fn_group_banner 176 'calc.at:627' \
+#AT_STOP_181
+#AT_START_182
+at_fn_group_banner 182 'calc.at:641' \
"Calculator %define api.push-pull both %define api.pure %locations" "" 11
at_xfail=no
(
- $as_echo "176. $at_setup_line: testing $at_desc ..."
+ $as_echo "182. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (YYSTYPE *lvalp, YYLTYPE *llocp);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:627: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:641: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:627"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:641"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:627: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:641"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:627: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:641: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:627"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:641"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:627: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:641: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:627"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:641"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:627: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:627: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:641"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:641: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:641"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:641: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:641"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
+
# Test the priorities.
cat >input <<'_ATEOF'
1 + 2 * 3 = 7
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:627: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:641"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:627: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:627: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:641"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:627: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:627: cat stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: cat stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:627: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:641"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:627: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:627: cat stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: cat stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:627: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:641"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:627: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:627: cat stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: cat stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:627: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:641"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:627: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:627: cat stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: cat stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:627: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:641"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:627: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:627: cat stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: cat stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:627: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:641"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:627: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:627: cat stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: cat stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:627: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:641"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:627: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:627: cat stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: cat stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:627: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:641"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:627: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:627: cat stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: cat stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:627: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:641"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:627: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:627: cat stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: cat stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:627: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:641"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:627: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:627: cat stderr"
-at_fn_check_prepare_trace "calc.at:627"
+$as_echo "$at_srcdir/calc.at:641: cat stderr"
+at_fn_check_prepare_trace "calc.at:641"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:627"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_176
-#AT_START_177
-at_fn_group_banner 177 'calc.at:628' \
+#AT_STOP_182
+#AT_START_183
+at_fn_group_banner 183 'calc.at:642' \
"Calculator %error-verbose %locations" " " 11
at_xfail=no
(
- $as_echo "177. $at_setup_line: testing $at_desc ..."
+ $as_echo "183. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:628: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:642: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:628"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:642"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:628: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:642"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:628: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:642: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:628"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:642"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:628: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:642: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:628"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:642"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:628: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:628: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:642"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:642: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:642"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:642: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:642"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
# Test the priorities.
cat >input <<'_ATEOF'
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:628: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:642"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:628: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:628: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:642"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:628: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:628: cat stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: cat stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:628: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:642"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:628: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:628: cat stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: cat stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:628: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:642"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:628: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:628: cat stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: cat stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:628: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:642"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:628: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:628: cat stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: cat stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:628: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:642"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:628: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:628: cat stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: cat stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:628: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:642"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:628: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:628: cat stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: cat stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:628: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:642"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:628: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:628: cat stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: cat stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:628: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:642"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:628: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:628: cat stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: cat stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:628: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:642"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:628: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:628: cat stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: cat stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:628: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:642"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:628: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:628: cat stderr"
-at_fn_check_prepare_trace "calc.at:628"
+$as_echo "$at_srcdir/calc.at:642: cat stderr"
+at_fn_check_prepare_trace "calc.at:642"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:628"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:642"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_177
-#AT_START_178
-at_fn_group_banner 178 'calc.at:630' \
+#AT_STOP_183
+#AT_START_184
+at_fn_group_banner 184 'calc.at:644' \
"Calculator %error-verbose %locations %defines %name-prefix \"calc\" %verbose %yacc" "" 11
at_xfail=no
(
- $as_echo "178. $at_setup_line: testing $at_desc ..."
+ $as_echo "184. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:630: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:644: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:630"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:644"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:630: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:644"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:630: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:644: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:630"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:644"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:630: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:644: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:630"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:644"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:630: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:630: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:644"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:644: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:644"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:644: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:644"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:644: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:644"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:644: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:644"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:644"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:644"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:630: cat stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: cat stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:644"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:630: cat stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: cat stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:644"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:630: cat stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: cat stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:644"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:630: cat stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: cat stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:644"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:630: cat stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: cat stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:644"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:630: cat stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: cat stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:644"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:630: cat stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: cat stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:644"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:630: cat stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: cat stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:644"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:630: cat stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: cat stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:630: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:644"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:630: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:630: cat stderr"
-at_fn_check_prepare_trace "calc.at:630"
+$as_echo "$at_srcdir/calc.at:644: cat stderr"
+at_fn_check_prepare_trace "calc.at:644"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:630"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_178
-#AT_START_179
-at_fn_group_banner 179 'calc.at:631' \
+#AT_STOP_184
+#AT_START_185
+at_fn_group_banner 185 'calc.at:645' \
"Calculator %error-verbose %locations %defines %define api.prefix \"calc\" %verbose %yacc" "" 11
at_xfail=no
(
- $as_echo "179. $at_setup_line: testing $at_desc ..."
+ $as_echo "185. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:631: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:645: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:631"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:645"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:631: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:645"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:631: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:645: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:631"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:645"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:631: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:645: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:631"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:645"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:631: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:631: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:645"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:645: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:645"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:645: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:645"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:645: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:645"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:645: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:645"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:631: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:645"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:631: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:631: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:645"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:631: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:631: cat stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: cat stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:631: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:645"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:631: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:631: cat stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: cat stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:631: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:645"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:631: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:631: cat stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: cat stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:631: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:645"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:631: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:631: cat stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: cat stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:631: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:645"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:631: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:631: cat stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: cat stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:631: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:645"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:631: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:631: cat stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: cat stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:631: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:645"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:631: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:631: cat stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: cat stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:631: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:645"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:631: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:631: cat stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: cat stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:631: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:645"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:631: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:631: cat stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: cat stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:631: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:645"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:631: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:631: cat stderr"
-at_fn_check_prepare_trace "calc.at:631"
+$as_echo "$at_srcdir/calc.at:645: cat stderr"
+at_fn_check_prepare_trace "calc.at:645"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:631"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_179
-#AT_START_180
-at_fn_group_banner 180 'calc.at:633' \
+#AT_STOP_185
+#AT_START_186
+at_fn_group_banner 186 'calc.at:647' \
"Calculator %debug" " " 11
at_xfail=no
(
- $as_echo "180. $at_setup_line: testing $at_desc ..."
+ $as_echo "186. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:633: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:647: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:633"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:647"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:633: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:647"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:633: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:647: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:633"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:647"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:633: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:647: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:633"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:647"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:633: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:633: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:647"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:647: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:647"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:647: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:647"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
+
# Test the priorities.
cat >input <<'_ATEOF'
1 + 2 * 3 = 7
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:647"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:647"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:633: cat stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: cat stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:647"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:633: cat stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: cat stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:647"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:633: cat stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: cat stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:647"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:633: cat stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: cat stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:647"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:633: cat stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: cat stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:647"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:633: cat stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: cat stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:647"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:633: cat stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: cat stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:647"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:633: cat stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: cat stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:647"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:633: cat stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: cat stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:633: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:647"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:633: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:633: cat stderr"
-at_fn_check_prepare_trace "calc.at:633"
+$as_echo "$at_srcdir/calc.at:647: cat stderr"
+at_fn_check_prepare_trace "calc.at:647"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:633"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:647"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_180
-#AT_START_181
-at_fn_group_banner 181 'calc.at:634' \
+#AT_STOP_186
+#AT_START_187
+at_fn_group_banner 187 'calc.at:648' \
"Calculator %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc" "" 11
at_xfail=no
(
- $as_echo "181. $at_setup_line: testing $at_desc ..."
+ $as_echo "187. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:634: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:648: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:634"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:648"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:634: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:648"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:634: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:648: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:634"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:648"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:634: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:648: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:634"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:648"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:634: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:634: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:648"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:648: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:648"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:648: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:648"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:648: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:648"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:648: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:648"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:634: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:648"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:634: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:634: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:648"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:634: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:634: cat stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: cat stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:634: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:648"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:634: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:634: cat stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: cat stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:634: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:648"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:634: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:634: cat stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: cat stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:634: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:648"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:634: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:634: cat stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: cat stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:634: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:648"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:634: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:634: cat stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: cat stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:634: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:648"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:634: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:634: cat stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: cat stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:634: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:648"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:634: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:634: cat stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: cat stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:634: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:648"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:634: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:634: cat stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: cat stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:634: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:648"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:634: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:634: cat stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: cat stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:634: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:648"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:634: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:634: cat stderr"
-at_fn_check_prepare_trace "calc.at:634"
+$as_echo "$at_srcdir/calc.at:648: cat stderr"
+at_fn_check_prepare_trace "calc.at:648"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:634"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_181
-#AT_START_182
-at_fn_group_banner 182 'calc.at:635' \
+#AT_STOP_187
+#AT_START_188
+at_fn_group_banner 188 'calc.at:649' \
"Calculator %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc" "" 11
at_xfail=no
(
- $as_echo "182. $at_setup_line: testing $at_desc ..."
+ $as_echo "188. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:635: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:649: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:635"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:649"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:635: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:649"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:635: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:649: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:635"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:649"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:635: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:649: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:635"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:649"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:635: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:635: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:649"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:649: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:649"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:649: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:649"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:649: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:649"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:649: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:649"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:649"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:649"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:635: cat stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: cat stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:649"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:635: cat stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: cat stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:649"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:635: cat stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: cat stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:649"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:635: cat stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: cat stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:649"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:635: cat stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: cat stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:649"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:635: cat stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: cat stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:649"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:635: cat stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: cat stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:649"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:635: cat stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: cat stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:649"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:635: cat stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: cat stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:635: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:649"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:635: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:635: cat stderr"
-at_fn_check_prepare_trace "calc.at:635"
+$as_echo "$at_srcdir/calc.at:649: cat stderr"
+at_fn_check_prepare_trace "calc.at:649"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:635"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:649"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_182
-#AT_START_183
-at_fn_group_banner 183 'calc.at:637' \
+#AT_STOP_188
+#AT_START_189
+at_fn_group_banner 189 'calc.at:651' \
"Calculator %define api.pure %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc" "" 11
at_xfail=no
(
- $as_echo "183. $at_setup_line: testing $at_desc ..."
+ $as_echo "189. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:637: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:651: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:637"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:651"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:637: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:651"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:637: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:651: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:637"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:651"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:637: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:651: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:637"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:651"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:637: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:637: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:651"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:651: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:651"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:651: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:651"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:651: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:651"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:651: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:651"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:651"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:651"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:637: cat stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: cat stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:651"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:637: cat stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: cat stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:651"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:637: cat stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: cat stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:651"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:637: cat stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: cat stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:651"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:637: cat stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: cat stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:651"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:637: cat stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: cat stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:651"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:637: cat stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: cat stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:651"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:637: cat stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: cat stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:651"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:637: cat stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: cat stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:637: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:651"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:637: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:637: cat stderr"
-at_fn_check_prepare_trace "calc.at:637"
+$as_echo "$at_srcdir/calc.at:651: cat stderr"
+at_fn_check_prepare_trace "calc.at:651"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:637"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:651"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_183
-#AT_START_184
-at_fn_group_banner 184 'calc.at:638' \
+#AT_STOP_189
+#AT_START_190
+at_fn_group_banner 190 'calc.at:652' \
"Calculator %define api.push-pull both %define api.pure %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc" "" 11
at_xfail=no
(
- $as_echo "184. $at_setup_line: testing $at_desc ..."
+ $as_echo "190. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:638: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:652: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:638"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:652"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:638: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:652"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:638: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:652: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:638"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:652"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:638: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:652: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:638"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:652"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:638: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:638: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:652"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:652: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:652"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:652: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:652"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:652: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:652"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:652: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:652"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:652"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:652"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:638: cat stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: cat stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:652"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:638: cat stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: cat stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:652"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:638: cat stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: cat stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:652"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:638: cat stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: cat stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:652"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:638: cat stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: cat stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:652"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:638: cat stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: cat stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:652"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:638: cat stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: cat stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:652"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:638: cat stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: cat stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:652"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:638: cat stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: cat stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:638: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:652"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:638: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:638: cat stderr"
-at_fn_check_prepare_trace "calc.at:638"
+$as_echo "$at_srcdir/calc.at:652: cat stderr"
+at_fn_check_prepare_trace "calc.at:652"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:638"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_184
-#AT_START_185
-at_fn_group_banner 185 'calc.at:640' \
+#AT_STOP_190
+#AT_START_191
+at_fn_group_banner 191 'calc.at:654' \
"Calculator %define api.pure %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count}" "" 11
at_xfail=no
(
- $as_echo "185. $at_setup_line: testing $at_desc ..."
+ $as_echo "191. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:640: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:654: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:640"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:654"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:640: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:654"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:640: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:654: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:640"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:654"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:640: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:654: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:640"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:654"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:640: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:640: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:654"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:654: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:654"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:654: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:654"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:654: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:654"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:654: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:654"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:654"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:654"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:640: cat stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: cat stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:654"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:640: cat stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: cat stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:654"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:640: cat stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: cat stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:654"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:640: cat stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: cat stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:654"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:640: cat stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: cat stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:654"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:640: cat stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: cat stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:654"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:640: cat stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: cat stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:654"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:640: cat stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: cat stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:654"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:640: cat stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: cat stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:640: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:654"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:640: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:640: cat stderr"
-at_fn_check_prepare_trace "calc.at:640"
+$as_echo "$at_srcdir/calc.at:654: cat stderr"
+at_fn_check_prepare_trace "calc.at:654"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:640"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_185
-#AT_START_186
-at_fn_group_banner 186 'calc.at:657' \
+#AT_STOP_191
+#AT_START_192
+at_fn_group_banner 192 'calc.at:671' \
"Calculator %glr-parser " " " 12
at_xfail=no
(
- $as_echo "186. $at_setup_line: testing $at_desc ..."
+ $as_echo "192. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:657: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:671: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:657"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:671"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:657: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:671"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:657: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:671: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:657"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:671"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:657: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:671: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:657"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:671"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:657: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:657: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:671"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:671: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:671"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:671: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:671"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
+
# Test the priorities.
cat >input <<'_ATEOF'
1 + 2 * 3 = 7
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:657: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:671"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:657: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:657: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:671"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:657: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:657: cat stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: cat stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:657: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:671"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:657: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:657: cat stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: cat stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:657: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:671"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:657: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:657: cat stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: cat stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:657: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:671"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:657: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:657: cat stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: cat stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:657: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:671"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:657: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:657: cat stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: cat stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:657: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:671"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:657: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:657: cat stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: cat stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:657: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:671"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:657: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:657: cat stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: cat stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:657: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:671"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:657: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:657: cat stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: cat stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:657: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:671"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:657: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:657: cat stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: cat stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:657: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:671"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:657: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:657: cat stderr"
-at_fn_check_prepare_trace "calc.at:657"
+$as_echo "$at_srcdir/calc.at:671: cat stderr"
+at_fn_check_prepare_trace "calc.at:671"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:657"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_186
-#AT_START_187
-at_fn_group_banner 187 'calc.at:659' \
+#AT_STOP_192
+#AT_START_193
+at_fn_group_banner 193 'calc.at:673' \
"Calculator %glr-parser %defines" " " 12
at_xfail=no
(
- $as_echo "187. $at_setup_line: testing $at_desc ..."
+ $as_echo "193. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:659: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:673: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:659"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:673"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:659: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:673"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:659: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:673: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:659"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:673"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:659: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:673: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:659"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:673"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:659: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:659: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:673"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:673: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:673"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:673: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:673"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:673: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:673"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:673: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:673"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:659: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:659: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:659: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:659: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:659: cat stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: cat stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:659: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:659: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:659: cat stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: cat stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:659: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:659: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:659: cat stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: cat stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:659: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:659: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:659: cat stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: cat stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:659: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:659: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:659: cat stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: cat stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:659: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:673"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:659: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:659: cat stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: cat stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:659: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:659: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:659: cat stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: cat stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:659: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:659: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:659: cat stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: cat stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:659: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:659: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:659: cat stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: cat stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:659: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:659: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:659: cat stderr"
-at_fn_check_prepare_trace "calc.at:659"
+$as_echo "$at_srcdir/calc.at:673: cat stderr"
+at_fn_check_prepare_trace "calc.at:673"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:659"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_187
-#AT_START_188
-at_fn_group_banner 188 'calc.at:660' \
+#AT_STOP_193
+#AT_START_194
+at_fn_group_banner 194 'calc.at:674' \
"Calculator %glr-parser %locations" " " 12
at_xfail=no
(
- $as_echo "188. $at_setup_line: testing $at_desc ..."
+ $as_echo "194. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:660: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:674: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:660"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:674"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:660: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:674"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:660: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:674: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:660"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:674"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:660: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:674: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:660"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:674"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:660: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:660: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:674"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:674: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:674"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:674: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:674"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
# Test the priorities.
cat >input <<'_ATEOF'
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:660: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:660: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:660: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:660: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:660: cat stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: cat stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:660: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:660: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:660: cat stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: cat stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:660: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:660: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:660: cat stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: cat stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:660: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:660: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:660: cat stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: cat stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:660: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:660: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:660: cat stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: cat stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:660: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:674"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:660: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:660: cat stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: cat stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:660: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:660: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:660: cat stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: cat stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:660: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:660: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:660: cat stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: cat stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:660: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:660: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:660: cat stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: cat stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:660: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:660: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:660: cat stderr"
-at_fn_check_prepare_trace "calc.at:660"
+$as_echo "$at_srcdir/calc.at:674: cat stderr"
+at_fn_check_prepare_trace "calc.at:674"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:660"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_188
-#AT_START_189
-at_fn_group_banner 189 'calc.at:661' \
+#AT_STOP_194
+#AT_START_195
+at_fn_group_banner 195 'calc.at:675' \
"Calculator %glr-parser %name-prefix \"calc\"" " " 12
at_xfail=no
(
- $as_echo "189. $at_setup_line: testing $at_desc ..."
+ $as_echo "195. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int calclex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:661: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:675: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:661"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:675"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:661: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:675"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:661: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:675: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:661"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:675"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:661: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:675: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:661"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:675"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:661: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:661: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:675"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:675: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:675"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:675: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:675"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
# Test the priorities.
cat >input <<'_ATEOF'
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:661: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:675"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:661: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:661: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:675"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:661: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:661: cat stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: cat stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:661: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:675"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:661: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:661: cat stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: cat stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:661: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:675"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:661: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:661: cat stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: cat stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:661: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:675"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:661: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:661: cat stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: cat stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:661: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:675"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:661: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:661: cat stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: cat stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:661: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:675"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:661: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:661: cat stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: cat stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:661: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:675"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:661: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:661: cat stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: cat stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:661: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:675"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:661: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:661: cat stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: cat stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:661: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:675"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:661: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:661: cat stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: cat stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:661: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:675"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:661: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:661: cat stderr"
-at_fn_check_prepare_trace "calc.at:661"
+$as_echo "$at_srcdir/calc.at:675: cat stderr"
+at_fn_check_prepare_trace "calc.at:675"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:661"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_189
-#AT_START_190
-at_fn_group_banner 190 'calc.at:662' \
+#AT_STOP_195
+#AT_START_196
+at_fn_group_banner 196 'calc.at:676' \
"Calculator %glr-parser %define api.prefix \"calc\"" "" 12
at_xfail=no
(
- $as_echo "190. $at_setup_line: testing $at_desc ..."
+ $as_echo "196. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int calclex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:662: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:676: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:662"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:676"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:662: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:676"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:662: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:676: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:662"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:676"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:662: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:676: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:662"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:676"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:662: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:662: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:676"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:676: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:676"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:676: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:676"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
# Test the priorities.
cat >input <<'_ATEOF'
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:662: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:662: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:662: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:662: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:662: cat stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: cat stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:662: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:662: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:662: cat stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: cat stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:662: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:662: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:662: cat stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: cat stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:662: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:662: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:662: cat stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: cat stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:662: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:662: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:662: cat stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: cat stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:662: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:676"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:662: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:662: cat stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: cat stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:662: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:662: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:662: cat stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: cat stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:662: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:662: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:662: cat stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: cat stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:662: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:662: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:662: cat stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: cat stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:662: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:662: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:662: cat stderr"
-at_fn_check_prepare_trace "calc.at:662"
+$as_echo "$at_srcdir/calc.at:676: cat stderr"
+at_fn_check_prepare_trace "calc.at:676"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:662"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_190
-#AT_START_191
-at_fn_group_banner 191 'calc.at:663' \
+#AT_STOP_196
+#AT_START_197
+at_fn_group_banner 197 'calc.at:677' \
"Calculator %glr-parser %verbose" " " 12
at_xfail=no
(
- $as_echo "191. $at_setup_line: testing $at_desc ..."
+ $as_echo "197. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:663: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:677: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:663"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:677"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:663: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:677"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:663: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:677: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:663"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:677"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:663: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:677: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:663"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:677"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:663: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:663: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:677"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:677: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:677"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:677: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:677"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
+
# Test the priorities.
cat >input <<'_ATEOF'
1 + 2 * 3 = 7
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:663: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:677"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:663: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:663: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:677"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:663: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:663: cat stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: cat stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:663: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:677"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:663: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:663: cat stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: cat stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:663: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:677"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:663: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:663: cat stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: cat stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:663: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:677"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:663: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:663: cat stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: cat stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:663: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:677"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:663: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:663: cat stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: cat stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:663: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:677"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:663: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:663: cat stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: cat stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:663: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:677"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:663: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:663: cat stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: cat stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:663: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:677"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:663: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:663: cat stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: cat stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:663: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:677"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:663: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:663: cat stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: cat stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:663: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:677"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:663: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:663: cat stderr"
-at_fn_check_prepare_trace "calc.at:663"
+$as_echo "$at_srcdir/calc.at:677: cat stderr"
+at_fn_check_prepare_trace "calc.at:677"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:663"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_191
-#AT_START_192
-at_fn_group_banner 192 'calc.at:664' \
+#AT_STOP_197
+#AT_START_198
+at_fn_group_banner 198 'calc.at:678' \
"Calculator %glr-parser %yacc" " " 12
at_xfail=no
(
- $as_echo "192. $at_setup_line: testing $at_desc ..."
+ $as_echo "198. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:664: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:678: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:664"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:678"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:664: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:678"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:664: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:678: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:664"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:678"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:664: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:678: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:664"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:678"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:664: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:664: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:678"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:678: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:678"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:678: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:678"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
# Test the priorities.
cat >input <<'_ATEOF'
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:664: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:664: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:664: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:664: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:664: cat stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: cat stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:664: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:664: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:664: cat stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: cat stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:664: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:664: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:664: cat stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: cat stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:664: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:664: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:664: cat stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: cat stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:664: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:664: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:664: cat stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: cat stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:664: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:678"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:664: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:664: cat stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: cat stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:664: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:664: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:664: cat stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: cat stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:664: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:664: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:664: cat stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: cat stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:664: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:664: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:664: cat stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: cat stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:664: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:664: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:664: cat stderr"
-at_fn_check_prepare_trace "calc.at:664"
+$as_echo "$at_srcdir/calc.at:678: cat stderr"
+at_fn_check_prepare_trace "calc.at:678"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:664"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_192
-#AT_START_193
-at_fn_group_banner 193 'calc.at:665' \
+#AT_STOP_198
+#AT_START_199
+at_fn_group_banner 199 'calc.at:679' \
"Calculator %glr-parser %error-verbose" " " 12
at_xfail=no
(
- $as_echo "193. $at_setup_line: testing $at_desc ..."
+ $as_echo "199. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:665: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:679: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:665"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:679"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:665: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:679"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:665: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:679: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:665"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:679"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:665: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:679: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:665"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:679"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:665: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:665: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:679"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:679: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:679"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:679: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:679"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
# Test the priorities.
cat >input <<'_ATEOF'
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:665: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:665: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:665: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:665: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:665: cat stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: cat stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:665: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:665: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:665: cat stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: cat stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:665: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:665: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:665: cat stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: cat stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:665: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:665: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:665: cat stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: cat stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:665: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:665: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:665: cat stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: cat stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:665: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:679"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:665: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:665: cat stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: cat stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:665: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:665: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:665: cat stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: cat stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:665: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:665: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:665: cat stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: cat stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:665: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:665: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:665: cat stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: cat stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:665: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:665: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:665: cat stderr"
-at_fn_check_prepare_trace "calc.at:665"
+$as_echo "$at_srcdir/calc.at:679: cat stderr"
+at_fn_check_prepare_trace "calc.at:679"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:665"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_193
-#AT_START_194
-at_fn_group_banner 194 'calc.at:667' \
+#AT_STOP_199
+#AT_START_200
+at_fn_group_banner 200 'calc.at:681' \
"Calculator %glr-parser %define api.pure %locations" "" 12
at_xfail=no
(
- $as_echo "194. $at_setup_line: testing $at_desc ..."
+ $as_echo "200. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (YYSTYPE *lvalp, YYLTYPE *llocp);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:667: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:681: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:667"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:681"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:667: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:681"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:667: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:681: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:667"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:681"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:667: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:681: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:667"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:681"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:667: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:667: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:681"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:681: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:681"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:681: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:681"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
+
# Test the priorities.
cat >input <<'_ATEOF'
1 + 2 * 3 = 7
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:667: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:681"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:667: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:667: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:681"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:667: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:667: cat stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: cat stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:667: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:681"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:667: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:667: cat stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: cat stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:667: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:681"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:667: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:667: cat stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: cat stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:667: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:681"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:667: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:667: cat stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: cat stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:667: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:681"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:667: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:667: cat stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: cat stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:667: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:681"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:667: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:667: cat stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: cat stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:667: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:681"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:667: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:667: cat stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: cat stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:667: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:681"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:667: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:667: cat stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: cat stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:667: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:681"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:667: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:667: cat stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: cat stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:667: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:681"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:667: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:667: cat stderr"
-at_fn_check_prepare_trace "calc.at:667"
+$as_echo "$at_srcdir/calc.at:681: cat stderr"
+at_fn_check_prepare_trace "calc.at:681"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:667"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_194
-#AT_START_195
-at_fn_group_banner 195 'calc.at:668' \
+#AT_STOP_200
+#AT_START_201
+at_fn_group_banner 201 'calc.at:682' \
"Calculator %glr-parser %error-verbose %locations" "" 12
at_xfail=no
(
- $as_echo "195. $at_setup_line: testing $at_desc ..."
+ $as_echo "201. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:668: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:682: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:668"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:682"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:668: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:682"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:668: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:682: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:668"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:682"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:668: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:682: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:668"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:682"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:668: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:668: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:682"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:682: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:682"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:682: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:682"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
# Test the priorities.
cat >input <<'_ATEOF'
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:668: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:682"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:668: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:668: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:682"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:668: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:668: cat stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: cat stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:668: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:682"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:668: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:668: cat stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: cat stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:668: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:682"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:668: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:668: cat stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: cat stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:668: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:682"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:668: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:668: cat stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: cat stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:668: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:682"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:668: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:668: cat stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: cat stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:668: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:682"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:668: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:668: cat stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: cat stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:668: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:682"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:668: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:668: cat stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: cat stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:668: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:682"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:668: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:668: cat stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: cat stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:668: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:682"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:668: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:668: cat stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: cat stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:668: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:682"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:668: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:668: cat stderr"
-at_fn_check_prepare_trace "calc.at:668"
+$as_echo "$at_srcdir/calc.at:682: cat stderr"
+at_fn_check_prepare_trace "calc.at:682"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:668"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:682"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_195
-#AT_START_196
-at_fn_group_banner 196 'calc.at:670' \
+#AT_STOP_201
+#AT_START_202
+at_fn_group_banner 202 'calc.at:684' \
"Calculator %glr-parser %error-verbose %locations %defines %name-prefix \"calc\" %verbose %yacc" "" 12
at_xfail=no
(
- $as_echo "196. $at_setup_line: testing $at_desc ..."
+ $as_echo "202. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:670: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:684: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:670"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:684"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:670: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:684"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:670: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:684: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:670"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:684"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:670: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:684: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:670"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:684"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:670: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:670: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:684"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:684: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:684"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:684: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:684"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:684: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:684"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:684: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:684"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:670: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:684"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:670: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:670: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:684"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:670: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:670: cat stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: cat stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:670: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:684"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:670: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:670: cat stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: cat stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:670: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:684"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:670: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:670: cat stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: cat stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:670: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:684"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:670: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:670: cat stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: cat stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:670: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:684"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:670: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:670: cat stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: cat stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:670: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:684"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:670: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:670: cat stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: cat stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:670: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:684"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:670: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:670: cat stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: cat stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:670: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:684"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:670: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:670: cat stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: cat stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:670: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:684"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:670: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:670: cat stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: cat stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:670: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:684"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:670: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:670: cat stderr"
-at_fn_check_prepare_trace "calc.at:670"
+$as_echo "$at_srcdir/calc.at:684: cat stderr"
+at_fn_check_prepare_trace "calc.at:684"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:670"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:684"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_196
-#AT_START_197
-at_fn_group_banner 197 'calc.at:672' \
+#AT_STOP_202
+#AT_START_203
+at_fn_group_banner 203 'calc.at:686' \
"Calculator %glr-parser %debug" " " 12
at_xfail=no
(
- $as_echo "197. $at_setup_line: testing $at_desc ..."
+ $as_echo "203. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, "%s\n", s);
}
-
#include <ctype.h>
int yylex (void);
assert (global_count == count);
return status;
}
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:672: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:686: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:672"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:686"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:672: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:686"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:672: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:686: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:672"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:686"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:672: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:686: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:672"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:686"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:672: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:672: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS" "calc.at:686"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:686: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:686"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:686: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:686"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
# Test the priorities.
cat >input <<'_ATEOF'
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:672: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:686"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:672: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:672: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:686"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:672: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:672: cat stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: cat stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:672: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:686"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:672: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:672: cat stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: cat stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:672: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:686"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:672: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:672: cat stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: cat stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:672: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:686"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:672: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:672: cat stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: cat stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:672: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:686"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:672: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:672: cat stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: cat stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:672: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:686"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:672: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:672: cat stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: cat stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:672: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:686"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:672: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:672: cat stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: cat stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:672: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:686"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:672: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:672: cat stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: cat stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:672: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:686"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:672: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:672: cat stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: cat stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:672: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:686"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:672: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:672: cat stderr"
-at_fn_check_prepare_trace "calc.at:672"
+$as_echo "$at_srcdir/calc.at:686: cat stderr"
+at_fn_check_prepare_trace "calc.at:686"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:672"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_197
-#AT_START_198
-at_fn_group_banner 198 'calc.at:673' \
+#AT_STOP_203
+#AT_START_204
+at_fn_group_banner 204 'calc.at:687' \
"Calculator %glr-parser %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc" "" 12
at_xfail=no
(
- $as_echo "198. $at_setup_line: testing $at_desc ..."
+ $as_echo "204. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:673: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:687: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:673"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:687"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:673: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:687"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:673: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:687: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:673"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:687"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:673: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:687: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:673"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:687"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:673: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:673: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:687"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:687: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:687"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:687: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:687"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:687: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:687"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:687: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:687"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:687"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:687"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:673: cat stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: cat stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:687"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:673: cat stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: cat stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:687"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:673: cat stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: cat stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:687"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:673: cat stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: cat stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:687"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:673: cat stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: cat stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:687"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:673: cat stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: cat stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:687"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:673: cat stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: cat stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:687"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:673: cat stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: cat stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:687"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:673: cat stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: cat stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:687"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:673: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:673: cat stderr"
-at_fn_check_prepare_trace "calc.at:673"
+$as_echo "$at_srcdir/calc.at:687: cat stderr"
+at_fn_check_prepare_trace "calc.at:687"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:673"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_198
-#AT_START_199
-at_fn_group_banner 199 'calc.at:674' \
+#AT_STOP_204
+#AT_START_205
+at_fn_group_banner 205 'calc.at:688' \
"Calculator %glr-parser %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc" "" 12
at_xfail=no
(
- $as_echo "199. $at_setup_line: testing $at_desc ..."
+ $as_echo "205. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:674: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:688: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:674"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:688"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:674: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:688"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:674: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:688: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:674"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:688"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:674: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:688: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:674"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:688"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:674: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:674: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:688"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:688: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:688"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:688: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:688"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:688: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:688"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:688: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:688"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:688"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:688"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:674: cat stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: cat stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:688"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:674: cat stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: cat stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:688"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:674: cat stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: cat stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:688"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:674: cat stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: cat stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:688"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:674: cat stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: cat stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:688"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:674: cat stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: cat stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:688"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:674: cat stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: cat stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:688"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:674: cat stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: cat stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:688"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:674: cat stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: cat stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:674: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:688"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:674: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:674: cat stderr"
-at_fn_check_prepare_trace "calc.at:674"
+$as_echo "$at_srcdir/calc.at:688: cat stderr"
+at_fn_check_prepare_trace "calc.at:688"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:674"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:688"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_199
-#AT_START_200
-at_fn_group_banner 200 'calc.at:676' \
+#AT_STOP_205
+#AT_START_206
+at_fn_group_banner 206 'calc.at:690' \
"Calculator %glr-parser %define api.pure %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc" "" 12
at_xfail=no
(
- $as_echo "200. $at_setup_line: testing $at_desc ..."
+ $as_echo "206. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:676: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:690: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:676"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:690"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:676: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:690"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:676: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:690: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:676"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:690"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:676: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:690: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:676"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:690"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:676: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:676: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:690"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:690: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:690"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:690: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:690"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:690: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:690"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:690: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:690"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:690"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:690"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:676: cat stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: cat stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:690"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:676: cat stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: cat stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:690"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:676: cat stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: cat stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:690"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:676: cat stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: cat stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:690"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:676: cat stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: cat stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:690"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:676: cat stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: cat stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:690"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:676: cat stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: cat stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:690"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:676: cat stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: cat stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:690"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:676: cat stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: cat stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:690"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:676: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:676: cat stderr"
-at_fn_check_prepare_trace "calc.at:676"
+$as_echo "$at_srcdir/calc.at:690: cat stderr"
+at_fn_check_prepare_trace "calc.at:690"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:676"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:690"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_200
-#AT_START_201
-at_fn_group_banner 201 'calc.at:678' \
+#AT_STOP_206
+#AT_START_207
+at_fn_group_banner 207 'calc.at:692' \
"Calculator %glr-parser %define api.pure %error-verbose %debug %locations %defines %name-prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count}" "" 12
at_xfail=no
(
- $as_echo "201. $at_setup_line: testing $at_desc ..."
+ $as_echo "207. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:678: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:692: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:678"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:692"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:678: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:692"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:678: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:692: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:678"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:692"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:678: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:692: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:678"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:692"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:678: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:678: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:692"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:692: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:692"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:692: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:692"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:692: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:692"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:692: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:692"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:692"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:692"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:678: cat stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: cat stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:692"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:678: cat stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: cat stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:692"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:678: cat stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: cat stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:692"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:678: cat stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: cat stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:692"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:678: cat stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: cat stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:692"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:678: cat stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: cat stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:692"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:678: cat stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: cat stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:692"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:678: cat stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: cat stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:692"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:678: cat stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: cat stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:692"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:678: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:678: cat stderr"
-at_fn_check_prepare_trace "calc.at:678"
+$as_echo "$at_srcdir/calc.at:692: cat stderr"
+at_fn_check_prepare_trace "calc.at:692"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:678"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:692"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_201
-#AT_START_202
-at_fn_group_banner 202 'calc.at:679' \
+#AT_STOP_207
+#AT_START_208
+at_fn_group_banner 208 'calc.at:693' \
"Calculator %glr-parser %define api.pure %error-verbose %debug %locations %defines %define api.prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count}" "" 12
at_xfail=no
(
- $as_echo "202. $at_setup_line: testing $at_desc ..."
+ $as_echo "208. $at_setup_line: testing $at_desc ..."
$at_traceon
fprintf (stderr, ": ");
fprintf (stderr, "%s\n", s);
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:679: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:693: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.c calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:679"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:693"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:679: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y" "calc.at:693"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:679: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:693: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:679"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:693"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:679: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:693: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:679"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:693"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:679: bison -o calc.c calc.y"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: bison -o calc.c calc.y"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; bison -o calc.c calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:679: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.c calc-lex.c calc-main.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS" "calc.at:693"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c calc-lex.c calc-main.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:693: sed -ne '/./q;=;p;' calc.c"
+at_fn_check_prepare_trace "calc.at:693"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:693: sed -ne '\${/^\$/{=;p;};}' calc.c"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:693"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.c
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:693: sed -ne '/./q;=;p;' calc.h"
+at_fn_check_prepare_trace "calc.at:693"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:693: sed -ne '\${/^\$/{=;p;};}' calc.h"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:693"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.h
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:693"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:693"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:679: cat stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: cat stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:693"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:679: cat stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: cat stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:693"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:679: cat stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: cat stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:693"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:679: cat stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: cat stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:693"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:679: cat stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: cat stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:693"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:679: cat stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: cat stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:693"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:679: cat stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: cat stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:693"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:679: cat stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: cat stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:693"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:679: cat stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: cat stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:679: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:693"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:679: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:679: cat stderr"
-at_fn_check_prepare_trace "calc.at:679"
+$as_echo "$at_srcdir/calc.at:693: cat stderr"
+at_fn_check_prepare_trace "calc.at:693"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:679"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:693"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_202
-#AT_START_203
-at_fn_group_banner 203 'calc.at:689' \
+#AT_STOP_208
+#AT_START_209
+at_fn_group_banner 209 'calc.at:703' \
"Calculator %skeleton \"lalr1.cc\" %defines %locations" "" 13
at_xfail=no
(
- $as_echo "203. $at_setup_line: testing $at_desc ..."
+ $as_echo "209. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:689: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:703: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:689"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:703"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:689: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:703"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:703: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:689"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:703"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:703: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:689"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:703"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:689: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:703"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:703"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:703: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:703"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:703: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:703"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:703: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:703"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:703: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:703"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:703"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:689: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:703"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:689: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:689: cat stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: cat stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:703"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:689: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:689: cat stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: cat stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:703"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:689: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:689: cat stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: cat stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:703"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:689: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:689: cat stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: cat stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:703"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:689: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:689: cat stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: cat stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:703"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:689: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:689: cat stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: cat stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:703"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:689: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:689: cat stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: cat stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:703"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:689: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:689: cat stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: cat stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:703"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:689: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:689: cat stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: cat stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:689: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:703"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:689: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:689: cat stderr"
-at_fn_check_prepare_trace "calc.at:689"
+$as_echo "$at_srcdir/calc.at:703: cat stderr"
+at_fn_check_prepare_trace "calc.at:703"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:689"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:703"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_203
-#AT_START_204
-at_fn_group_banner 204 'calc.at:698' \
+#AT_STOP_209
+#AT_START_210
+at_fn_group_banner 210 'calc.at:712' \
"Calculator %language \"C++\" %defines %locations " "" 13
at_xfail=no
(
- $as_echo "204. $at_setup_line: testing $at_desc ..."
+ $as_echo "210. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:698: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:712: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:698"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:712"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:698: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:712"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:712: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:698"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:712"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:712: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:698"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:712"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:698: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:712"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:712"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:712: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:712"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:712: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:712"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:712: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:712"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:712: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:712"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:712"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:698: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:712"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:698: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:698: cat stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: cat stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:712"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:698: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:698: cat stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: cat stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:712"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:698: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:698: cat stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: cat stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:712"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:698: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:698: cat stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: cat stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:712"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:698: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:698: cat stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: cat stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:712"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:698: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:698: cat stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: cat stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:712"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:698: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:698: cat stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: cat stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:712"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:698: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:698: cat stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: cat stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:712"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:698: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:698: cat stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: cat stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:698: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:712"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:698: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:698: cat stderr"
-at_fn_check_prepare_trace "calc.at:698"
+$as_echo "$at_srcdir/calc.at:712: cat stderr"
+at_fn_check_prepare_trace "calc.at:712"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:698"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:712"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_204
-#AT_START_205
-at_fn_group_banner 205 'calc.at:699' \
+#AT_STOP_210
+#AT_START_211
+at_fn_group_banner 211 'calc.at:713' \
"Calculator %language \"C++\" %defines %locations %define location_type Span" "" 13
at_xfail=no
(
- $as_echo "205. $at_setup_line: testing $at_desc ..."
+ $as_echo "211. $at_setup_line: testing $at_desc ..."
$at_traceon
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:699: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:713: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:699"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:713"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:699: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:713"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:713: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:699"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:713"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:713: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:699"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:713"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:699: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:713"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:713"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:713: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:713"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:713: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:713"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:713: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:713"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:713: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:713"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:713"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:699: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:713"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:699: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:699: cat stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: cat stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:713"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:699: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:699: cat stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: cat stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:713"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:699: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:699: cat stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: cat stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:713"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:699: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:699: cat stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: cat stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:713"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:699: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:699: cat stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: cat stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:713"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:699: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:699: cat stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: cat stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:713"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:699: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:699: cat stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: cat stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:713"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:699: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:699: cat stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: cat stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:713"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:699: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:699: cat stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: cat stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:699: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:713"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:699: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:699: cat stderr"
-at_fn_check_prepare_trace "calc.at:699"
+$as_echo "$at_srcdir/calc.at:713: cat stderr"
+at_fn_check_prepare_trace "calc.at:713"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:699"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:713"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_205
-#AT_START_206
-at_fn_group_banner 206 'calc.at:700' \
+#AT_STOP_211
+#AT_START_212
+at_fn_group_banner 212 'calc.at:714' \
"Calculator %language \"C++\" %defines %locations %error-verbose %name-prefix \"calc\" %verbose %yacc" "" 13
at_xfail=no
(
- $as_echo "206. $at_setup_line: testing $at_desc ..."
+ $as_echo "212. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:700: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:714: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:700"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:714"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:700: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:714"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:714: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:700"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:714"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:714: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:700"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:714"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:700: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:714"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:714"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:714: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:714"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:714: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:714"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:714: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:714"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:714: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:714"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:714"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:700: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:714"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:700: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:700: cat stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: cat stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:714"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:700: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:700: cat stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: cat stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:714"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:700: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:700: cat stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: cat stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:714"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:700: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:700: cat stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: cat stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:714"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:700: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:700: cat stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: cat stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:714"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:700: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:700: cat stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: cat stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:714"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:700: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:700: cat stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: cat stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:714"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:700: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:700: cat stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: cat stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:714"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:700: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:700: cat stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: cat stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:700: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:714"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:700: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:700: cat stderr"
-at_fn_check_prepare_trace "calc.at:700"
+$as_echo "$at_srcdir/calc.at:714: cat stderr"
+at_fn_check_prepare_trace "calc.at:714"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:700"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_206
-#AT_START_207
-at_fn_group_banner 207 'calc.at:701' \
+#AT_STOP_212
+#AT_START_213
+at_fn_group_banner 213 'calc.at:715' \
"Calculator %language \"C++\" %defines %locations %error-verbose %define api.prefix \"calc\" %verbose %yacc" "" 13
at_xfail=no
(
- $as_echo "207. $at_setup_line: testing $at_desc ..."
+ $as_echo "213. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:701: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:715: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:701"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:715"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:701: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:715"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:715: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:701"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:715"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:715: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:701"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:715"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:701: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:715"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:715"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:715: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:715"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:715: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:715"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:715: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:715"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:715: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:715"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:715"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:701: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:715"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:701: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:701: cat stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: cat stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:715"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:701: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:701: cat stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: cat stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:715"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:701: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:701: cat stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: cat stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:715"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:701: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:701: cat stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: cat stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:715"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:701: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:701: cat stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: cat stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:715"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:701: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:701: cat stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: cat stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:715"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:701: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:701: cat stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: cat stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:715"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:701: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:701: cat stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: cat stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:715"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:701: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:701: cat stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: cat stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:701: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:715"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:701: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:701: cat stderr"
-at_fn_check_prepare_trace "calc.at:701"
+$as_echo "$at_srcdir/calc.at:715: cat stderr"
+at_fn_check_prepare_trace "calc.at:715"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:701"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_207
-#AT_START_208
-at_fn_group_banner 208 'calc.at:702' \
+#AT_STOP_213
+#AT_START_214
+at_fn_group_banner 214 'calc.at:716' \
"Calculator %language \"C++\" %defines %locations %error-verbose %debug %name-prefix \"calc\" %verbose %yacc" "" 13
at_xfail=no
(
- $as_echo "208. $at_setup_line: testing $at_desc ..."
+ $as_echo "214. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:702: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:716: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:702"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:716"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:702: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:716"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:716: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:702"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:716"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:716: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:702"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:716"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:702: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:716"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:716"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:716: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:716"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:716: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:716"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:716: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:716"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:716: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:716"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:716"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:702: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:716"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:702: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:702: cat stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: cat stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:716"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:702: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:702: cat stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: cat stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:716"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:702: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:702: cat stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: cat stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:716"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:702: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:702: cat stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: cat stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:716"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:702: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:702: cat stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: cat stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:716"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:702: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:702: cat stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: cat stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:716"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:702: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:702: cat stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: cat stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:716"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:702: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:702: cat stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: cat stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:716"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:702: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:702: cat stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: cat stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:702: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:716"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:702: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:702: cat stderr"
-at_fn_check_prepare_trace "calc.at:702"
+$as_echo "$at_srcdir/calc.at:716: cat stderr"
+at_fn_check_prepare_trace "calc.at:716"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:702"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:716"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_208
-#AT_START_209
-at_fn_group_banner 209 'calc.at:704' \
+#AT_STOP_214
+#AT_START_215
+at_fn_group_banner 215 'calc.at:718' \
"Calculator %language \"C++\" %defines %locations %pure-parser %error-verbose %debug %define api.prefix \"calc\" %verbose %yacc" "" 13
at_xfail=no
(
- $as_echo "209. $at_setup_line: testing $at_desc ..."
+ $as_echo "215. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:704: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:718: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:704"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:718"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:704: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:718"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:718: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:704"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:718"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:718: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:704"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:718"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:704: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:718"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:718"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:718: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:718"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:718: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:718"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:718: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:718"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:718: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:718"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:704: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:704: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:704: cat stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: cat stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:704: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:704: cat stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: cat stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:704: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:704: cat stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: cat stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:704: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:704: cat stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: cat stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:704: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:704: cat stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: cat stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:718"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:704: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:704: cat stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: cat stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:704: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:704: cat stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: cat stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:704: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:704: cat stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: cat stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:704: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:704: cat stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: cat stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:704: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:704: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:704: cat stderr"
-at_fn_check_prepare_trace "calc.at:704"
+$as_echo "$at_srcdir/calc.at:718: cat stderr"
+at_fn_check_prepare_trace "calc.at:718"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:704"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_209
-#AT_START_210
-at_fn_group_banner 210 'calc.at:706' \
+#AT_STOP_215
+#AT_START_216
+at_fn_group_banner 216 'calc.at:720' \
"Calculator %language \"C++\" %defines %locations %pure-parser %error-verbose %debug %name-prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count}" "" 13
at_xfail=no
(
- $as_echo "210. $at_setup_line: testing $at_desc ..."
+ $as_echo "216. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:706: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:720: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:706"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:720"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:706: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:720"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:720: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:706"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:720"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:720: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:706"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:720"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:706: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:720"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:720"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:720: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:720"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:720: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:720"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:720: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:720"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:720: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:720"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:720"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:706: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:720"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:706: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:706: cat stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: cat stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:720"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:706: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:706: cat stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: cat stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:720"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:706: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:706: cat stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: cat stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:720"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:706: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:706: cat stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: cat stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:720"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:706: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:706: cat stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: cat stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:720"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:706: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:706: cat stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: cat stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:720"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:706: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:706: cat stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: cat stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:720"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:706: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:706: cat stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: cat stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:720"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:706: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:706: cat stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: cat stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:706: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:720"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:706: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:706: cat stderr"
-at_fn_check_prepare_trace "calc.at:706"
+$as_echo "$at_srcdir/calc.at:720: cat stderr"
+at_fn_check_prepare_trace "calc.at:720"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:706"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:720"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_210
-#AT_START_211
-at_fn_group_banner 211 'calc.at:707' \
+#AT_STOP_216
+#AT_START_217
+at_fn_group_banner 217 'calc.at:721' \
"Calculator %language \"C++\" %defines %locations %pure-parser %error-verbose %debug %define api.prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count}" "" 13
at_xfail=no
(
- $as_echo "211. $at_setup_line: testing $at_desc ..."
+ $as_echo "217. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:707: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:721: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:707"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:721"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:707: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:721"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:721: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:707"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:721"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:721: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:707"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:721"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:707: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:721"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:721"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:721: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:721"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:721: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:721"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:721: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:721"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:721: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:721"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:721"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:707: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:721"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:707: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:707: cat stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: cat stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:721"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:707: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:707: cat stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: cat stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:721"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:707: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:707: cat stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: cat stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:721"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:707: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:707: cat stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: cat stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:721"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:707: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:707: cat stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: cat stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:721"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:707: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:707: cat stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: cat stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:721"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:707: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:707: cat stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: cat stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:721"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:707: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:707: cat stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: cat stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:721"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:707: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:707: cat stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: cat stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:707: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:721"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:707: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:707: cat stderr"
-at_fn_check_prepare_trace "calc.at:707"
+$as_echo "$at_srcdir/calc.at:721: cat stderr"
+at_fn_check_prepare_trace "calc.at:721"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:707"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_211
-#AT_START_212
-at_fn_group_banner 212 'calc.at:718' \
+#AT_STOP_217
+#AT_START_218
+at_fn_group_banner 218 'calc.at:732' \
"Calculator %skeleton \"glr.cc\" %defines %locations" "" 14
at_xfail=no
(
- $as_echo "212. $at_setup_line: testing $at_desc ..."
+ $as_echo "218. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:718: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:732: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:718"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:732"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:718: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:732"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:732: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:718"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:732"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:732: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:718"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:732"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:718: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:732"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:732"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:732: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:732"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:732: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:732"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:732: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:732"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:732: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:732"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:718: cat stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: cat stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:718: cat stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: cat stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:718: cat stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: cat stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:718: cat stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: cat stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:718: cat stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: cat stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:732"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:718: cat stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: cat stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:718: cat stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: cat stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:718: cat stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: cat stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:718: cat stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: cat stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:718: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:718: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:718: cat stderr"
-at_fn_check_prepare_trace "calc.at:718"
+$as_echo "$at_srcdir/calc.at:732: cat stderr"
+at_fn_check_prepare_trace "calc.at:732"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:718"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_212
-#AT_START_213
-at_fn_group_banner 213 'calc.at:727' \
+#AT_STOP_218
+#AT_START_219
+at_fn_group_banner 219 'calc.at:741' \
"Calculator %language \"C++\" %glr-parser %defines %locations " "" 14
at_xfail=no
(
- $as_echo "213. $at_setup_line: testing $at_desc ..."
+ $as_echo "219. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:727: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:741: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:727"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:741"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:727: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:741"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:741: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:727"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:741"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:741: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:727"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:741"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:727: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:741"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:741"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:741: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:741"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:741: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:741"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:741: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:741"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:741: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:741"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:741"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:727: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:741"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:727: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:727: cat stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: cat stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:741"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:727: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:727: cat stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: cat stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:741"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:727: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:727: cat stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: cat stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:741"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:727: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:727: cat stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: cat stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:741"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:727: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:727: cat stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: cat stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:741"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:727: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:727: cat stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: cat stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:741"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:727: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:727: cat stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: cat stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:741"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:727: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:727: cat stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: cat stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:741"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:727: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:727: cat stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: cat stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:727: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:741"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:727: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:727: cat stderr"
-at_fn_check_prepare_trace "calc.at:727"
+$as_echo "$at_srcdir/calc.at:741: cat stderr"
+at_fn_check_prepare_trace "calc.at:741"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:727"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:741"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_213
-#AT_START_214
-at_fn_group_banner 214 'calc.at:728' \
+#AT_STOP_219
+#AT_START_220
+at_fn_group_banner 220 'calc.at:742' \
"Calculator %language \"C++\" %glr-parser %defines %locations %define location_type Span" "" 14
at_xfail=no
(
- $as_echo "214. $at_setup_line: testing $at_desc ..."
+ $as_echo "220. $at_setup_line: testing $at_desc ..."
$at_traceon
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:728: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:742: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:728"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:742"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:728: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:742"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:742: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:728"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:742"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:742: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:728"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:742"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:728: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:742"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:742"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:742: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:742"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:742: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:742"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:742: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:742"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:742: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:742"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:742"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:728: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:742"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:728: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:728: cat stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: cat stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:742"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:728: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:728: cat stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: cat stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:742"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:728: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:728: cat stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: cat stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:742"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:728: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:728: cat stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: cat stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:742"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:728: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:728: cat stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: cat stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:742"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:728: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:728: cat stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: cat stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:742"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:728: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:728: cat stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: cat stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:742"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:728: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:728: cat stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: cat stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:742"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:728: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:728: cat stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: cat stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:728: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:742"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:728: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:728: cat stderr"
-at_fn_check_prepare_trace "calc.at:728"
+$as_echo "$at_srcdir/calc.at:742: cat stderr"
+at_fn_check_prepare_trace "calc.at:742"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:728"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_214
-#AT_START_215
-at_fn_group_banner 215 'calc.at:729' \
+#AT_STOP_220
+#AT_START_221
+at_fn_group_banner 221 'calc.at:743' \
"Calculator %language \"C++\" %glr-parser %defines %locations %error-verbose %name-prefix \"calc\" %verbose %yacc" "" 14
at_xfail=no
(
- $as_echo "215. $at_setup_line: testing $at_desc ..."
+ $as_echo "221. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:729: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:743: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:729"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:743"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:729: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:743"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:743: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:729"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:743"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:743: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:729"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:743"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:729: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:743"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:743"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:743: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:743"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:743: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:743"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:743: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:743"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:743: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:743"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:743"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:729: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:743"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:729: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:729: cat stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: cat stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:743"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:729: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:729: cat stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: cat stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:743"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:729: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:729: cat stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: cat stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:743"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:729: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:729: cat stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: cat stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:743"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:729: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:729: cat stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: cat stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:743"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:729: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:729: cat stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: cat stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:743"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:729: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:729: cat stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: cat stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:743"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:729: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:729: cat stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: cat stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:743"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:729: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:729: cat stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: cat stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:729: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:743"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:729: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:729: cat stderr"
-at_fn_check_prepare_trace "calc.at:729"
+$as_echo "$at_srcdir/calc.at:743: cat stderr"
+at_fn_check_prepare_trace "calc.at:743"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:729"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:743"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_215
-#AT_START_216
-at_fn_group_banner 216 'calc.at:730' \
+#AT_STOP_221
+#AT_START_222
+at_fn_group_banner 222 'calc.at:744' \
"Calculator %language \"C++\" %glr-parser %defines %locations %error-verbose %define api.prefix \"calc\" %verbose %yacc" "" 14
at_xfail=no
(
- $as_echo "216. $at_setup_line: testing $at_desc ..."
+ $as_echo "222. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:730: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:744: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:730"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:744"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:730: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:744"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:744: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:730"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:744"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:744: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:730"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:744"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:730: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:744"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:744"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:744: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:744"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:744: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:744"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:744: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:744"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:744: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:744"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:744"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:730: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:744"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:730: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:730: cat stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: cat stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:744"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:730: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:730: cat stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: cat stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:744"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:730: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:730: cat stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: cat stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:744"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:730: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:730: cat stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: cat stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:744"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:730: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:730: cat stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: cat stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:744"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:730: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:730: cat stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: cat stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:744"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:730: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:730: cat stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: cat stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:744"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:730: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:730: cat stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: cat stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:744"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:730: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:730: cat stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: cat stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:730: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:744"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:730: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:730: cat stderr"
-at_fn_check_prepare_trace "calc.at:730"
+$as_echo "$at_srcdir/calc.at:744: cat stderr"
+at_fn_check_prepare_trace "calc.at:744"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:730"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:744"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_216
-#AT_START_217
-at_fn_group_banner 217 'calc.at:732' \
+#AT_STOP_222
+#AT_START_223
+at_fn_group_banner 223 'calc.at:746' \
"Calculator %language \"C++\" %glr-parser %defines %locations %debug" "" 14
at_xfail=no
(
- $as_echo "217. $at_setup_line: testing $at_desc ..."
+ $as_echo "223. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:732: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:746: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:732"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:746"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:732: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:746"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:746: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:732"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:746"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:746: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:732"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:746"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:732: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:746"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:746"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:746: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:746"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:746: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:746"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:746: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:746"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:746: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:746"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:746"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:746"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:732: cat stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: cat stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:746"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:732: cat stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: cat stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:746"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:732: cat stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: cat stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:746"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:732: cat stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: cat stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:746"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:732: cat stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: cat stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:746"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:732: cat stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: cat stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:746"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:732: cat stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: cat stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:746"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:732: cat stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: cat stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:746"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:732: cat stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: cat stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:732: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:746"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:732: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
mv at-expout expout
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:732: cat stderr"
-at_fn_check_prepare_trace "calc.at:732"
+$as_echo "$at_srcdir/calc.at:746: cat stderr"
+at_fn_check_prepare_trace "calc.at:746"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:732"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:746"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_217
-#AT_START_218
-at_fn_group_banner 218 'calc.at:733' \
+#AT_STOP_223
+#AT_START_224
+at_fn_group_banner 224 'calc.at:747' \
"Calculator %language \"C++\" %glr-parser %defines %locations %error-verbose %debug %name-prefix \"calc\" %verbose %yacc" "" 14
at_xfail=no
(
- $as_echo "218. $at_setup_line: testing $at_desc ..."
+ $as_echo "224. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:733: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:747: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:733"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:747"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:733: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:747"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:747: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:733"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:747"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:747: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:733"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:747"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:733: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:747"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:747"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:747: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:747"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:747: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:747"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:747: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:747"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:747: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:747"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:747"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:733: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:747"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:733: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:733: cat stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: cat stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:747"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:733: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:733: cat stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: cat stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:747"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:733: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:733: cat stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: cat stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:747"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:733: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:733: cat stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: cat stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:747"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:733: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:733: cat stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: cat stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:747"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:733: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:733: cat stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: cat stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:747"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:733: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:733: cat stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: cat stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:747"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:733: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:733: cat stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: cat stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:747"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:733: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:733: cat stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: cat stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:733: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:747"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:733: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:733: cat stderr"
-at_fn_check_prepare_trace "calc.at:733"
+$as_echo "$at_srcdir/calc.at:747: cat stderr"
+at_fn_check_prepare_trace "calc.at:747"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:733"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:747"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_218
-#AT_START_219
-at_fn_group_banner 219 'calc.at:735' \
+#AT_STOP_224
+#AT_START_225
+at_fn_group_banner 225 'calc.at:749' \
"Calculator %language \"C++\" %glr-parser %defines %locations %pure-parser %error-verbose %debug %name-prefix \"calc\" %verbose %yacc" "" 14
at_xfail=no
(
- $as_echo "219. $at_setup_line: testing $at_desc ..."
+ $as_echo "225. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:735: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:749: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:735"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:749"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:735: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:749"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:749: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:735"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:749"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:749: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:735"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:749"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:735: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:749"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:749"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:749: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:749"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:749: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:749"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:749: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:749"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:749: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:749"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:749"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:735: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:749"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:735: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:735: cat stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: cat stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:749"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:735: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:735: cat stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: cat stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:749"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:735: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:735: cat stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: cat stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:749"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:735: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:735: cat stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: cat stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:749"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:735: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:735: cat stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: cat stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:749"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:735: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:735: cat stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: cat stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:749"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:735: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:735: cat stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: cat stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:749"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:735: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:735: cat stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: cat stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:749"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:735: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:735: cat stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: cat stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:735: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:749"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:735: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:735: cat stderr"
-at_fn_check_prepare_trace "calc.at:735"
+$as_echo "$at_srcdir/calc.at:749: cat stderr"
+at_fn_check_prepare_trace "calc.at:749"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:735"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:749"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_219
-#AT_START_220
-at_fn_group_banner 220 'calc.at:737' \
+#AT_STOP_225
+#AT_START_226
+at_fn_group_banner 226 'calc.at:751' \
"Calculator %language \"C++\" %glr-parser %defines %locations %pure-parser %error-verbose %debug %name-prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count}" "" 14
at_xfail=no
(
- $as_echo "220. $at_setup_line: testing $at_desc ..."
+ $as_echo "226. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:737: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:751: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:737"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:751"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:737: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:751"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:751: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:737"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:751"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:751: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:737"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:751"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:737: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:751"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:751"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:751: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:751"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:751: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:751"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:751: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:751"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:751: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:751"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:751"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:737: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:751"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:737: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:737: cat stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: cat stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:751"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:737: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:737: cat stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: cat stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:751"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:737: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:737: cat stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: cat stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:751"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:737: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:737: cat stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: cat stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:751"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:737: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:737: cat stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: cat stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:751"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:737: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:737: cat stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: cat stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:751"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:737: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:737: cat stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: cat stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:751"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:737: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:737: cat stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: cat stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:751"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:737: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:737: cat stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: cat stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:737: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:751"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:737: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:737: cat stderr"
-at_fn_check_prepare_trace "calc.at:737"
+$as_echo "$at_srcdir/calc.at:751: cat stderr"
+at_fn_check_prepare_trace "calc.at:751"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:737"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:751"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_220
-#AT_START_221
-at_fn_group_banner 221 'calc.at:738' \
+#AT_STOP_226
+#AT_START_227
+at_fn_group_banner 227 'calc.at:752' \
"Calculator %language \"C++\" %glr-parser %defines %locations %pure-parser %error-verbose %debug %define api.prefix \"calc\" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count}" "" 14
at_xfail=no
(
- $as_echo "221. $at_setup_line: testing $at_desc ..."
+ $as_echo "227. $at_setup_line: testing $at_desc ..."
$at_traceon
a constructor for position that initializes the filename. The
glr.cc skeleton does not (and in fact cannot: location/position
are stored in a union, from which objects with constructors are
- excluded in C++. */
+ excluded in C++). */
%initial-action {
@$.initialize ();
}
(void) l;
std::cerr << l << ": " << m << std::endl;
}
-
-
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/calc.at:738: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/calc.at:752: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o calc.cc calc.y"
-at_fn_check_prepare_notrace 'an embedded newline' "calc.at:738"
+at_fn_check_prepare_notrace 'an embedded newline' "calc.at:752"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:738: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y" "calc.at:752"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:752: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:738"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:752"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$XSLTPROC \\
+$as_echo "$at_srcdir/calc.at:752: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:738"
+at_fn_check_prepare_notrace 'a `...` command substitution' "calc.at:752"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/calc.at:738: bison -o calc.cc calc.y"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: bison -o calc.cc calc.y"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; bison -o calc.cc calc.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "calc.at:752"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS" "calc.at:752"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc calc-lex.cc calc-main.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:752: sed -ne '/./q;=;p;' calc.cc"
+at_fn_check_prepare_trace "calc.at:752"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([cc], [c])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:752: sed -ne '\${/^\$/{=;p;};}' calc.cc"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:752"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.cc
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# No initial empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:752: sed -ne '/./q;=;p;' calc.hh"
+at_fn_check_prepare_trace "calc.at:752"
+( $at_check_trace; sed -ne '/./q;=;p;' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+# No trailing spaces.
+# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' calc.AT_SKEL_CC_IF([hh], [h])])
+# No final empty lines.
+{ set +x
+$as_echo "$at_srcdir/calc.at:752: sed -ne '\${/^\$/{=;p;};}' calc.hh"
+at_fn_check_prepare_notrace 'a ${...} parameter expansion' "calc.at:752"
+( $at_check_trace; sed -ne '${/^$/{=;p;};}' calc.hh
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:752"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:738: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:752"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:738: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:738: cat stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: cat stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:752"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:738: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:738: cat stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: cat stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:752"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:738: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:738: cat stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: cat stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:752"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:738: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:738: cat stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: cat stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:752"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:738: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:738: cat stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: cat stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
# Exercise error messages with EOF: work on an empty file.
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$PREPARSER ./calc /dev/null"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: \$PREPARSER ./calc /dev/null"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc /dev/null" "calc.at:752"
( $at_check_trace; $PREPARSER ./calc /dev/null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 1 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:738: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:738: cat stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: cat stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:752"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:738: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:738: cat stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: cat stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:752"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:738: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:738: cat stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: cat stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:752"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:738: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:738: cat stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: cat stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
_ATEOF
{ set +x
-$as_echo "$at_srcdir/calc.at:738: \$PREPARSER ./calc input"
-at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: \$PREPARSER ./calc input"
+at_fn_check_prepare_dynamic " $PREPARSER ./calc input" "calc.at:752"
( $at_check_trace; $PREPARSER ./calc input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/calc.at:738: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
# 5. Check
{ set +x
-$as_echo "$at_srcdir/calc.at:738: cat stderr"
-at_fn_check_prepare_trace "calc.at:738"
+$as_echo "$at_srcdir/calc.at:752: cat stderr"
+at_fn_check_prepare_trace "calc.at:752"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/calc.at:738"
+at_fn_check_status 0 $at_status "$at_srcdir/calc.at:752"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_221
-#AT_START_222
-at_fn_group_banner 222 'torture.at:137' \
+#AT_STOP_227
+#AT_START_228
+at_fn_group_banner 228 'torture.at:137' \
"Big triangle" " " 15
at_xfail=no
(
- $as_echo "222. $at_setup_line: testing $at_desc ..."
+ $as_echo "228. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_222
-#AT_START_223
-at_fn_group_banner 223 'torture.at:227' \
+#AT_STOP_228
+#AT_START_229
+at_fn_group_banner 229 'torture.at:227' \
"Big horizontal" " " 15
at_xfail=no
(
- $as_echo "223. $at_setup_line: testing $at_desc ..."
+ $as_echo "229. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_223
-#AT_START_224
-at_fn_group_banner 224 'torture.at:363' \
+#AT_STOP_229
+#AT_START_230
+at_fn_group_banner 230 'torture.at:363' \
"Many lookahead tokens" " " 15
at_xfail=no
(
- $as_echo "224. $at_setup_line: testing $at_desc ..."
+ $as_echo "230. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_224
-#AT_START_225
-at_fn_group_banner 225 'torture.at:459' \
+#AT_STOP_230
+#AT_START_231
+at_fn_group_banner 231 'torture.at:459' \
"Exploding the Stack Size with Alloca" " " 15
at_xfail=no
(
- $as_echo "225. $at_setup_line: testing $at_desc ..."
+ $as_echo "231. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_225
-#AT_START_226
-at_fn_group_banner 226 'torture.at:505' \
+#AT_STOP_231
+#AT_START_232
+at_fn_group_banner 232 'torture.at:505' \
"Exploding the Stack Size with Malloc" " " 15
at_xfail=no
(
- $as_echo "226. $at_setup_line: testing $at_desc ..."
+ $as_echo "232. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_226
-#AT_START_227
-at_fn_group_banner 227 'existing.at:76' \
+#AT_STOP_232
+#AT_START_233
+at_fn_group_banner 233 'existing.at:76' \
"GNU AWK 3.1.0 Grammar: LALR(1)" " " 16
at_xfail=no
(
- $as_echo "227. $at_setup_line: testing $at_desc ..."
+ $as_echo "233. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_227
-#AT_START_228
-at_fn_group_banner 228 'existing.at:76' \
+#AT_STOP_233
+#AT_START_234
+at_fn_group_banner 234 'existing.at:76' \
"GNU AWK 3.1.0 Grammar: IELR(1)" " " 16
at_xfail=no
(
- $as_echo "228. $at_setup_line: testing $at_desc ..."
+ $as_echo "234. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_228
-#AT_START_229
-at_fn_group_banner 229 'existing.at:76' \
+#AT_STOP_234
+#AT_START_235
+at_fn_group_banner 235 'existing.at:76' \
"GNU AWK 3.1.0 Grammar: Canonical LR(1)" " " 16
at_xfail=no
(
- $as_echo "229. $at_setup_line: testing $at_desc ..."
+ $as_echo "235. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_229
-#AT_START_230
-at_fn_group_banner 230 'existing.at:780' \
+#AT_STOP_235
+#AT_START_236
+at_fn_group_banner 236 'existing.at:780' \
"GNU Cim Grammar: LALR(1)" " " 16
at_xfail=no
(
- $as_echo "230. $at_setup_line: testing $at_desc ..."
+ $as_echo "236. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_230
-#AT_START_231
-at_fn_group_banner 231 'existing.at:780' \
+#AT_STOP_236
+#AT_START_237
+at_fn_group_banner 237 'existing.at:780' \
"GNU Cim Grammar: IELR(1)" " " 16
at_xfail=no
(
- $as_echo "231. $at_setup_line: testing $at_desc ..."
+ $as_echo "237. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_231
-#AT_START_232
-at_fn_group_banner 232 'existing.at:780' \
+#AT_STOP_237
+#AT_START_238
+at_fn_group_banner 238 'existing.at:780' \
"GNU Cim Grammar: Canonical LR(1)" " " 16
at_xfail=no
(
- $as_echo "232. $at_setup_line: testing $at_desc ..."
+ $as_echo "238. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_232
-#AT_START_233
-at_fn_group_banner 233 'existing.at:1400' \
+#AT_STOP_238
+#AT_START_239
+at_fn_group_banner 239 'existing.at:1400' \
"GNU pic (Groff 1.18.1) Grammar: LALR(1)" " " 16
at_xfail=no
(
- $as_echo "233. $at_setup_line: testing $at_desc ..."
+ $as_echo "239. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_233
-#AT_START_234
-at_fn_group_banner 234 'existing.at:1400' \
+#AT_STOP_239
+#AT_START_240
+at_fn_group_banner 240 'existing.at:1400' \
"GNU pic (Groff 1.18.1) Grammar: IELR(1)" " " 16
at_xfail=no
(
- $as_echo "234. $at_setup_line: testing $at_desc ..."
+ $as_echo "240. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_234
-#AT_START_235
-at_fn_group_banner 235 'existing.at:1400' \
+#AT_STOP_240
+#AT_START_241
+at_fn_group_banner 241 'existing.at:1400' \
"GNU pic (Groff 1.18.1) Grammar: Canonical LR(1)" "" 16
at_xfail=no
(
- $as_echo "235. $at_setup_line: testing $at_desc ..."
+ $as_echo "241. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_235
-#AT_START_236
-at_fn_group_banner 236 'regression.at:25' \
+#AT_STOP_241
+#AT_START_242
+at_fn_group_banner 242 'regression.at:25' \
"Trivial grammars" " " 17
at_xfail=no
(
- $as_echo "236. $at_setup_line: testing $at_desc ..."
+ $as_echo "242. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_236
-#AT_START_237
-at_fn_group_banner 237 'regression.at:55' \
+#AT_STOP_242
+#AT_START_243
+at_fn_group_banner 243 'regression.at:55' \
"YYSTYPE typedef" " " 17
at_xfail=no
(
- $as_echo "237. $at_setup_line: testing $at_desc ..."
+ $as_echo "243. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_237
-#AT_START_238
-at_fn_group_banner 238 'regression.at:85' \
+#AT_STOP_243
+#AT_START_244
+at_fn_group_banner 244 'regression.at:85' \
"Early token definitions with --yacc" " " 17
at_xfail=no
(
- $as_echo "238. $at_setup_line: testing $at_desc ..."
+ $as_echo "244. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_238
-#AT_START_239
-at_fn_group_banner 239 'regression.at:125' \
+#AT_STOP_244
+#AT_START_245
+at_fn_group_banner 245 'regression.at:125' \
"Early token definitions without --yacc" " " 17
at_xfail=no
(
- $as_echo "239. $at_setup_line: testing $at_desc ..."
+ $as_echo "245. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_239
-#AT_START_240
-at_fn_group_banner 240 'regression.at:170' \
+#AT_STOP_245
+#AT_START_246
+at_fn_group_banner 246 'regression.at:170' \
"Braces parsing" " " 17
at_xfail=no
(
- $as_echo "240. $at_setup_line: testing $at_desc ..."
+ $as_echo "246. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_240
-#AT_START_241
-at_fn_group_banner 241 'regression.at:194' \
+#AT_STOP_246
+#AT_START_247
+at_fn_group_banner 247 'regression.at:194' \
"Duplicate string" " " 17
at_xfail=no
(
- $as_echo "241. $at_setup_line: testing $at_desc ..."
+ $as_echo "247. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_241
-#AT_START_242
-at_fn_group_banner 242 'regression.at:222' \
+#AT_STOP_247
+#AT_START_248
+at_fn_group_banner 248 'regression.at:222' \
"Rule Line Numbers" " " 17
at_xfail=no
(
- $as_echo "242. $at_setup_line: testing $at_desc ..."
+ $as_echo "248. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_242
-#AT_START_243
-at_fn_group_banner 243 'regression.at:368' \
+#AT_STOP_248
+#AT_START_249
+at_fn_group_banner 249 'regression.at:368' \
"Mixing %token styles" " " 17
at_xfail=no
(
- $as_echo "243. $at_setup_line: testing $at_desc ..."
+ $as_echo "249. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_243
-#AT_START_244
-at_fn_group_banner 244 'regression.at:391' \
+#AT_STOP_249
+#AT_START_250
+at_fn_group_banner 250 'regression.at:391' \
"Invalid inputs" " " 17
at_xfail=no
(
- $as_echo "244. $at_setup_line: testing $at_desc ..."
+ $as_echo "250. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_244
-#AT_START_245
-at_fn_group_banner 245 'regression.at:418' \
+#AT_STOP_250
+#AT_START_251
+at_fn_group_banner 251 'regression.at:418' \
"Invalid inputs with {}" " " 17
at_xfail=no
(
- $as_echo "245. $at_setup_line: testing $at_desc ..."
+ $as_echo "251. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_245
-#AT_START_246
-at_fn_group_banner 246 'regression.at:443' \
+#AT_STOP_251
+#AT_START_252
+at_fn_group_banner 252 'regression.at:443' \
"Token definitions" " " 17
at_xfail=no
(
- $as_echo "246. $at_setup_line: testing $at_desc ..."
+ $as_echo "252. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_246
-#AT_START_247
-at_fn_group_banner 247 'regression.at:503' \
+#AT_STOP_252
+#AT_START_253
+at_fn_group_banner 253 'regression.at:503' \
"Characters Escapes" " " 17
at_xfail=no
(
- $as_echo "247. $at_setup_line: testing $at_desc ..."
+ $as_echo "253. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_247
-#AT_START_248
-at_fn_group_banner 248 'regression.at:536' \
+#AT_STOP_253
+#AT_START_254
+at_fn_group_banner 254 'regression.at:536' \
"Web2c Report" " " 17
at_xfail=no
(
- $as_echo "248. $at_setup_line: testing $at_desc ..."
+ $as_echo "254. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_248
-#AT_START_249
-at_fn_group_banner 249 'regression.at:713' \
+#AT_STOP_254
+#AT_START_255
+at_fn_group_banner 255 'regression.at:713' \
"Web2c Actions" " " 17
at_xfail=no
(
- $as_echo "249. $at_setup_line: testing $at_desc ..."
+ $as_echo "255. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_249
-#AT_START_250
-at_fn_group_banner 250 'regression.at:929' \
+#AT_STOP_255
+#AT_START_256
+at_fn_group_banner 256 'regression.at:928' \
"Dancer " " " 17
at_xfail=no
(
- $as_echo "250. $at_setup_line: testing $at_desc ..."
+ $as_echo "256. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:929: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:928: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o dancer.c dancer.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:929"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:928"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o dancer.c dancer.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:928"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:929: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y" "regression.at:929"
+$as_echo "$at_srcdir/regression.at:928: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y" "regression.at:928"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:928"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:929: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:928: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:929"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:928"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:928"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:929: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:928: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:929"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:928"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:928"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:929: bison -o dancer.c dancer.y"
-at_fn_check_prepare_trace "regression.at:929"
+$as_echo "$at_srcdir/regression.at:928: bison -o dancer.c dancer.y"
+at_fn_check_prepare_trace "regression.at:928"
( $at_check_trace; bison -o dancer.c dancer.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-
-if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
- at_save_special_files
- mkdir xml-tests
- # Don't combine these Bison invocations since we want to be sure that
- # --report=all isn't required to get the full XML file.
- { set +x
-$as_echo "$at_srcdir/regression.at:929: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
- --graph=xml-tests/test.dot -o dancer.c dancer.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:929"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
- --graph=xml-tests/test.dot -o dancer.c dancer.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- { set +x
-$as_echo "$at_srcdir/regression.at:929: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y" "regression.at:929"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- cp xml-tests/test.output expout
- { set +x
-$as_echo "$at_srcdir/regression.at:929: \$XSLTPROC \\
- \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
- xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:929"
-( $at_check_trace; $XSLTPROC \
- `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
- xml-tests/test.xml
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- cp xml-tests/test.dot expout
- { set +x
-$as_echo "$at_srcdir/regression.at:929: \$XSLTPROC \\
- \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
- xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:929"
-( $at_check_trace; $XSLTPROC \
- `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
- xml-tests/test.xml
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- rm -rf xml-tests expout
- at_restore_special_files
-fi
-{ set +x
-$as_echo "$at_srcdir/regression.at:929: bison -o dancer.c dancer.y"
-at_fn_check_prepare_trace "regression.at:929"
-( $at_check_trace; bison -o dancer.c dancer.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:928"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:929: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o dancer dancer.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o dancer dancer.c $LIBS" "regression.at:929"
+$as_echo "$at_srcdir/regression.at:928: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o dancer dancer.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o dancer dancer.c $LIBS" "regression.at:928"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o dancer dancer.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:928"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:929: \$PREPARSER ./dancer"
-at_fn_check_prepare_dynamic " $PREPARSER ./dancer" "regression.at:929"
+$as_echo "$at_srcdir/regression.at:928: \$PREPARSER ./dancer"
+at_fn_check_prepare_dynamic " $PREPARSER ./dancer" "regression.at:928"
( $at_check_trace; $PREPARSER ./dancer
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/regression.at:929"
+at_fn_check_status 1 $at_status "$at_srcdir/regression.at:928"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:929: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:929"
+$as_echo "$at_srcdir/regression.at:928: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:928"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:928"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_250
-#AT_START_251
-at_fn_group_banner 251 'regression.at:930' \
+#AT_STOP_256
+#AT_START_257
+at_fn_group_banner 257 'regression.at:929' \
"Dancer %glr-parser" " " 17
at_xfail=no
(
- $as_echo "251. $at_setup_line: testing $at_desc ..."
+ $as_echo "257. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:930: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
- --graph=xml-tests/test.dot -o dancer.c dancer.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:930"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
- --graph=xml-tests/test.dot -o dancer.c dancer.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- { set +x
-$as_echo "$at_srcdir/regression.at:930: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y" "regression.at:930"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- cp xml-tests/test.output expout
- { set +x
-$as_echo "$at_srcdir/regression.at:930: \$XSLTPROC \\
- \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
- xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:930"
-( $at_check_trace; $XSLTPROC \
- `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
- xml-tests/test.xml
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- cp xml-tests/test.dot expout
- { set +x
-$as_echo "$at_srcdir/regression.at:930: \$XSLTPROC \\
- \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
- xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:930"
-( $at_check_trace; $XSLTPROC \
- `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
- xml-tests/test.xml
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- rm -rf xml-tests expout
- at_restore_special_files
-fi
-{ set +x
-$as_echo "$at_srcdir/regression.at:930: bison -o dancer.c dancer.y"
-at_fn_check_prepare_trace "regression.at:930"
-( $at_check_trace; bison -o dancer.c dancer.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-
-if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
- at_save_special_files
- mkdir xml-tests
- # Don't combine these Bison invocations since we want to be sure that
- # --report=all isn't required to get the full XML file.
- { set +x
-$as_echo "$at_srcdir/regression.at:930: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:929: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o dancer.c dancer.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:930"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:929"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o dancer.c dancer.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:930: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y" "regression.at:930"
+$as_echo "$at_srcdir/regression.at:929: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y" "regression.at:929"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:930: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:929: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:930"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:929"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:930: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:929: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:930"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:929"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:930: bison -o dancer.c dancer.y"
-at_fn_check_prepare_trace "regression.at:930"
+$as_echo "$at_srcdir/regression.at:929: bison -o dancer.c dancer.y"
+at_fn_check_prepare_trace "regression.at:929"
( $at_check_trace; bison -o dancer.c dancer.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:930: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o dancer dancer.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o dancer dancer.c $LIBS" "regression.at:930"
+$as_echo "$at_srcdir/regression.at:929: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o dancer dancer.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o dancer dancer.c $LIBS" "regression.at:929"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o dancer dancer.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:930: \$PREPARSER ./dancer"
-at_fn_check_prepare_dynamic " $PREPARSER ./dancer" "regression.at:930"
+$as_echo "$at_srcdir/regression.at:929: \$PREPARSER ./dancer"
+at_fn_check_prepare_dynamic " $PREPARSER ./dancer" "regression.at:929"
( $at_check_trace; $PREPARSER ./dancer
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/regression.at:930"
+at_fn_check_status 1 $at_status "$at_srcdir/regression.at:929"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:930: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:930"
+$as_echo "$at_srcdir/regression.at:929: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:929"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:929"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_251
-#AT_START_252
-at_fn_group_banner 252 'regression.at:931' \
+#AT_STOP_257
+#AT_START_258
+at_fn_group_banner 258 'regression.at:930' \
"Dancer %skeleton \"lalr1.cc\"" " " 17
at_xfail=no
(
- $as_echo "252. $at_setup_line: testing $at_desc ..."
+ $as_echo "258. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
(void) lvalp;;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:931: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
- --graph=xml-tests/test.dot -o dancer.c dancer.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:931"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
- --graph=xml-tests/test.dot -o dancer.c dancer.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:931"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- { set +x
-$as_echo "$at_srcdir/regression.at:931: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y" "regression.at:931"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.c dancer.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:931"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- cp xml-tests/test.output expout
- { set +x
-$as_echo "$at_srcdir/regression.at:931: \$XSLTPROC \\
- \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
- xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:931"
-( $at_check_trace; $XSLTPROC \
- `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
- xml-tests/test.xml
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:931"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- cp xml-tests/test.dot expout
- { set +x
-$as_echo "$at_srcdir/regression.at:931: \$XSLTPROC \\
- \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
- xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:931"
-( $at_check_trace; $XSLTPROC \
- `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
- xml-tests/test.xml
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:931"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- rm -rf xml-tests expout
- at_restore_special_files
-fi
-{ set +x
-$as_echo "$at_srcdir/regression.at:931: bison -o dancer.c dancer.y"
-at_fn_check_prepare_trace "regression.at:931"
-( $at_check_trace; bison -o dancer.c dancer.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:931"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-
-if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
- at_save_special_files
- mkdir xml-tests
- # Don't combine these Bison invocations since we want to be sure that
- # --report=all isn't required to get the full XML file.
- { set +x
-$as_echo "$at_srcdir/regression.at:931: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:930: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o dancer.cc dancer.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:931"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:930"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o dancer.cc dancer.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:931"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:931: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.cc dancer.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.cc dancer.y" "regression.at:931"
+$as_echo "$at_srcdir/regression.at:930: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.cc dancer.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.cc dancer.y" "regression.at:930"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o dancer.cc dancer.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:931"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:931: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:930: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:931"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:930"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:931"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:931: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:930: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:931"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:930"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:931"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:931: bison -o dancer.cc dancer.y"
-at_fn_check_prepare_trace "regression.at:931"
+$as_echo "$at_srcdir/regression.at:930: bison -o dancer.cc dancer.y"
+at_fn_check_prepare_trace "regression.at:930"
( $at_check_trace; bison -o dancer.cc dancer.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:931"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:931: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "regression.at:931"
+$as_echo "$at_srcdir/regression.at:930: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "regression.at:930"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:931"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:931: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o dancer dancer.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o dancer dancer.cc $LIBS" "regression.at:931"
+$as_echo "$at_srcdir/regression.at:930: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o dancer dancer.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o dancer dancer.cc $LIBS" "regression.at:930"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o dancer dancer.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:931"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:931: \$PREPARSER ./dancer"
-at_fn_check_prepare_dynamic " $PREPARSER ./dancer" "regression.at:931"
+$as_echo "$at_srcdir/regression.at:930: \$PREPARSER ./dancer"
+at_fn_check_prepare_dynamic " $PREPARSER ./dancer" "regression.at:930"
( $at_check_trace; $PREPARSER ./dancer
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/regression.at:931"
+at_fn_check_status 1 $at_status "$at_srcdir/regression.at:930"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:931: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:931"
+$as_echo "$at_srcdir/regression.at:930: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:930"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:931"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:930"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_252
-#AT_START_253
-at_fn_group_banner 253 'regression.at:1014' \
+#AT_STOP_258
+#AT_START_259
+at_fn_group_banner 259 'regression.at:1012' \
"Expecting two tokens " " " 17
at_xfail=no
(
- $as_echo "253. $at_setup_line: testing $at_desc ..."
+ $as_echo "259. $at_setup_line: testing $at_desc ..."
$at_traceon
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1014: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1012: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o expect2.c expect2.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1014"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1012"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o expect2.c expect2.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1012"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1014: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y" "regression.at:1014"
+$as_echo "$at_srcdir/regression.at:1012: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y" "regression.at:1012"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1012"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1014: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1012: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1014"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1012"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1012"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1014: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1012: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1014"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1012"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1012"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1014: bison -o expect2.c expect2.y"
-at_fn_check_prepare_trace "regression.at:1014"
+$as_echo "$at_srcdir/regression.at:1012: bison -o expect2.c expect2.y"
+at_fn_check_prepare_trace "regression.at:1012"
( $at_check_trace; bison -o expect2.c expect2.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-
-if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
- at_save_special_files
- mkdir xml-tests
- # Don't combine these Bison invocations since we want to be sure that
- # --report=all isn't required to get the full XML file.
- { set +x
-$as_echo "$at_srcdir/regression.at:1014: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
- --graph=xml-tests/test.dot -o expect2.c expect2.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1014"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
- --graph=xml-tests/test.dot -o expect2.c expect2.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- { set +x
-$as_echo "$at_srcdir/regression.at:1014: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y" "regression.at:1014"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- cp xml-tests/test.output expout
- { set +x
-$as_echo "$at_srcdir/regression.at:1014: \$XSLTPROC \\
- \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
- xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1014"
-( $at_check_trace; $XSLTPROC \
- `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
- xml-tests/test.xml
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- cp xml-tests/test.dot expout
- { set +x
-$as_echo "$at_srcdir/regression.at:1014: \$XSLTPROC \\
- \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
- xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1014"
-( $at_check_trace; $XSLTPROC \
- `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
- xml-tests/test.xml
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- rm -rf xml-tests expout
- at_restore_special_files
-fi
-{ set +x
-$as_echo "$at_srcdir/regression.at:1014: bison -o expect2.c expect2.y"
-at_fn_check_prepare_trace "regression.at:1014"
-( $at_check_trace; bison -o expect2.c expect2.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1012"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1014: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o expect2 expect2.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o expect2 expect2.c $LIBS" "regression.at:1014"
+$as_echo "$at_srcdir/regression.at:1012: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o expect2 expect2.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o expect2 expect2.c $LIBS" "regression.at:1012"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o expect2 expect2.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1012"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1014: \$PREPARSER ./expect2"
-at_fn_check_prepare_dynamic " $PREPARSER ./expect2" "regression.at:1014"
+$as_echo "$at_srcdir/regression.at:1012: \$PREPARSER ./expect2"
+at_fn_check_prepare_dynamic " $PREPARSER ./expect2" "regression.at:1012"
( $at_check_trace; $PREPARSER ./expect2
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1014"
+at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1012"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1014: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:1014"
+$as_echo "$at_srcdir/regression.at:1012: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:1012"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1012"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_253
-#AT_START_254
-at_fn_group_banner 254 'regression.at:1015' \
+#AT_STOP_259
+#AT_START_260
+at_fn_group_banner 260 'regression.at:1013' \
"Expecting two tokens %glr-parser" " " 17
at_xfail=no
(
- $as_echo "254. $at_setup_line: testing $at_desc ..."
+ $as_echo "260. $at_setup_line: testing $at_desc ..."
$at_traceon
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1015: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
- --graph=xml-tests/test.dot -o expect2.c expect2.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1015"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
- --graph=xml-tests/test.dot -o expect2.c expect2.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1015"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- { set +x
-$as_echo "$at_srcdir/regression.at:1015: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y" "regression.at:1015"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1015"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- cp xml-tests/test.output expout
- { set +x
-$as_echo "$at_srcdir/regression.at:1015: \$XSLTPROC \\
- \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
- xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1015"
-( $at_check_trace; $XSLTPROC \
- `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
- xml-tests/test.xml
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1015"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- cp xml-tests/test.dot expout
- { set +x
-$as_echo "$at_srcdir/regression.at:1015: \$XSLTPROC \\
- \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
- xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1015"
-( $at_check_trace; $XSLTPROC \
- `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
- xml-tests/test.xml
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1015"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- rm -rf xml-tests expout
- at_restore_special_files
-fi
-{ set +x
-$as_echo "$at_srcdir/regression.at:1015: bison -o expect2.c expect2.y"
-at_fn_check_prepare_trace "regression.at:1015"
-( $at_check_trace; bison -o expect2.c expect2.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1015"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-
-if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
- at_save_special_files
- mkdir xml-tests
- # Don't combine these Bison invocations since we want to be sure that
- # --report=all isn't required to get the full XML file.
- { set +x
-$as_echo "$at_srcdir/regression.at:1015: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1013: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o expect2.c expect2.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1015"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1013"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o expect2.c expect2.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1015"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1013"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1015: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y" "regression.at:1015"
+$as_echo "$at_srcdir/regression.at:1013: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y" "regression.at:1013"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1015"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1013"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1015: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1013: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1015"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1013"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1015"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1013"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1015: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1013: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1015"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1013"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1015"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1013"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1015: bison -o expect2.c expect2.y"
-at_fn_check_prepare_trace "regression.at:1015"
+$as_echo "$at_srcdir/regression.at:1013: bison -o expect2.c expect2.y"
+at_fn_check_prepare_trace "regression.at:1013"
( $at_check_trace; bison -o expect2.c expect2.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1015"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1013"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1015: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o expect2 expect2.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o expect2 expect2.c $LIBS" "regression.at:1015"
+$as_echo "$at_srcdir/regression.at:1013: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o expect2 expect2.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o expect2 expect2.c $LIBS" "regression.at:1013"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o expect2 expect2.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1015"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1013"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1015: \$PREPARSER ./expect2"
-at_fn_check_prepare_dynamic " $PREPARSER ./expect2" "regression.at:1015"
+$as_echo "$at_srcdir/regression.at:1013: \$PREPARSER ./expect2"
+at_fn_check_prepare_dynamic " $PREPARSER ./expect2" "regression.at:1013"
( $at_check_trace; $PREPARSER ./expect2
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1015"
+at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1013"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1015: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:1015"
+$as_echo "$at_srcdir/regression.at:1013: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:1013"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1015"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1013"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_254
-#AT_START_255
-at_fn_group_banner 255 'regression.at:1016' \
+#AT_STOP_260
+#AT_START_261
+at_fn_group_banner 261 'regression.at:1014' \
"Expecting two tokens %skeleton \"lalr1.cc\"" " " 17
at_xfail=no
(
- $as_echo "255. $at_setup_line: testing $at_desc ..."
+ $as_echo "261. $at_setup_line: testing $at_desc ..."
$at_traceon
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1016: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
- --graph=xml-tests/test.dot -o expect2.c expect2.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1016"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
- --graph=xml-tests/test.dot -o expect2.c expect2.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1016"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- { set +x
-$as_echo "$at_srcdir/regression.at:1016: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y" "regression.at:1016"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.c expect2.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; cat "$at_stderr"
-echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1016"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- cp xml-tests/test.output expout
- { set +x
-$as_echo "$at_srcdir/regression.at:1016: \$XSLTPROC \\
- \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
- xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1016"
-( $at_check_trace; $XSLTPROC \
- `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
- xml-tests/test.xml
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1016"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- cp xml-tests/test.dot expout
- { set +x
-$as_echo "$at_srcdir/regression.at:1016: \$XSLTPROC \\
- \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
- xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1016"
-( $at_check_trace; $XSLTPROC \
- `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
- xml-tests/test.xml
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1016"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
- rm -rf xml-tests expout
- at_restore_special_files
-fi
-{ set +x
-$as_echo "$at_srcdir/regression.at:1016: bison -o expect2.c expect2.y"
-at_fn_check_prepare_trace "regression.at:1016"
-( $at_check_trace; bison -o expect2.c expect2.y
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1016"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-
-if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
- at_save_special_files
- mkdir xml-tests
- # Don't combine these Bison invocations since we want to be sure that
- # --report=all isn't required to get the full XML file.
- { set +x
-$as_echo "$at_srcdir/regression.at:1016: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1014: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o expect2.cc expect2.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1016"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1014"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o expect2.cc expect2.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1016"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1016: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.cc expect2.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.cc expect2.y" "regression.at:1016"
+$as_echo "$at_srcdir/regression.at:1014: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.cc expect2.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.cc expect2.y" "regression.at:1014"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o expect2.cc expect2.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1016"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1016: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1014: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1016"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1014"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1016"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1016: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1014: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1016"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1014"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1016"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1016: bison -o expect2.cc expect2.y"
-at_fn_check_prepare_trace "regression.at:1016"
+$as_echo "$at_srcdir/regression.at:1014: bison -o expect2.cc expect2.y"
+at_fn_check_prepare_trace "regression.at:1014"
( $at_check_trace; bison -o expect2.cc expect2.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1016"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1016: \$BISON_CXX_WORKS"
-at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "regression.at:1016"
+$as_echo "$at_srcdir/regression.at:1014: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "regression.at:1014"
( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1016"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1016: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o expect2 expect2.cc \$LIBS"
-at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o expect2 expect2.cc $LIBS" "regression.at:1016"
+$as_echo "$at_srcdir/regression.at:1014: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o expect2 expect2.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o expect2 expect2.cc $LIBS" "regression.at:1014"
( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o expect2 expect2.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1016"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1016: \$PREPARSER ./expect2"
-at_fn_check_prepare_dynamic " $PREPARSER ./expect2" "regression.at:1016"
+$as_echo "$at_srcdir/regression.at:1014: \$PREPARSER ./expect2"
+at_fn_check_prepare_dynamic " $PREPARSER ./expect2" "regression.at:1014"
( $at_check_trace; $PREPARSER ./expect2
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1016"
+at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1014"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1016: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:1016"
+$as_echo "$at_srcdir/regression.at:1014: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:1014"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1016"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1014"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_255
-#AT_START_256
-at_fn_group_banner 256 'regression.at:1024' \
+#AT_STOP_261
+#AT_START_262
+at_fn_group_banner 262 'regression.at:1022' \
"Braced code in declaration in rules section" " " 17
at_xfail=no
(
- $as_echo "256. $at_setup_line: testing $at_desc ..."
+ $as_echo "262. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1063: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1061: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1063"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1061"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -t -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1063"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1061"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1063: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -t -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -t -o input.c input.y" "regression.at:1063"
+$as_echo "$at_srcdir/regression.at:1061: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -t -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -t -o input.c input.y" "regression.at:1061"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -t -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1063"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1061"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1063: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1061: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1063"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1061"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1063"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1061"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1063: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1061: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1063"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1061"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1063"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1061"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1063: bison -t -o input.c input.y"
-at_fn_check_prepare_trace "regression.at:1063"
+$as_echo "$at_srcdir/regression.at:1061: bison -t -o input.c input.y"
+at_fn_check_prepare_trace "regression.at:1061"
( $at_check_trace; bison -t -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1063"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1061"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1064: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1064"
+$as_echo "$at_srcdir/regression.at:1062: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1062"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1064"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1062"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1065: \$PREPARSER ./input"
-at_fn_check_prepare_dynamic " $PREPARSER ./input" "regression.at:1065"
+$as_echo "$at_srcdir/regression.at:1063: \$PREPARSER ./input"
+at_fn_check_prepare_dynamic " $PREPARSER ./input" "regression.at:1063"
( $at_check_trace; $PREPARSER ./input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
echo >>"$at_stdout"; $as_echo "Bison would once convert this action to a midrule because of the subsequent braced code.
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1065"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1063"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1065: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:1065"
+$as_echo "$at_srcdir/regression.at:1063: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:1063"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1065"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1063"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_256
-#AT_START_257
-at_fn_group_banner 257 'regression.at:1091' \
+#AT_STOP_262
+#AT_START_263
+at_fn_group_banner 263 'regression.at:1089' \
"String alias declared after use" " " 17
at_xfail=no
(
- $as_echo "257. $at_setup_line: testing $at_desc ..."
+ $as_echo "263. $at_setup_line: testing $at_desc ..."
$at_traceon
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1104: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1102: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1104"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1102"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -t -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1104"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1102"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1104: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -t -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -t -o input.c input.y" "regression.at:1104"
+$as_echo "$at_srcdir/regression.at:1102: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -t -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -t -o input.c input.y" "regression.at:1102"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -t -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1104"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1102"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1104: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1102: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1104"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1102"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1104"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1102"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1104: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1102: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1104"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1102"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1104"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1102"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1104: bison -t -o input.c input.y"
-at_fn_check_prepare_trace "regression.at:1104"
+$as_echo "$at_srcdir/regression.at:1102: bison -t -o input.c input.y"
+at_fn_check_prepare_trace "regression.at:1102"
( $at_check_trace; bison -t -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1104"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1102"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_257
-#AT_START_258
-at_fn_group_banner 258 'regression.at:1114' \
+#AT_STOP_263
+#AT_START_264
+at_fn_group_banner 264 'regression.at:1112' \
"Extra lookahead sets in report" " " 17
at_xfail=no
(
- $as_echo "258. $at_setup_line: testing $at_desc ..."
+ $as_echo "264. $at_setup_line: testing $at_desc ..."
$at_traceon
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1129: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1127: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot --report=all input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1129"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1127"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot --report=all input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1129"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1127"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1129: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml --report=all input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml --report=all input.y" "regression.at:1129"
+$as_echo "$at_srcdir/regression.at:1127: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml --report=all input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml --report=all input.y" "regression.at:1127"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml --report=all input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1129"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1127"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1129: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1127: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1129"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1127"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1129"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1127"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1129: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1127: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1129"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1127"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1129"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1127"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1129: bison --report=all input.y"
-at_fn_check_prepare_trace "regression.at:1129"
+$as_echo "$at_srcdir/regression.at:1127: bison --report=all input.y"
+at_fn_check_prepare_trace "regression.at:1127"
( $at_check_trace; bison --report=all input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1129"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1127"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1130: sed -n '/^state 1\$/,/^state 2\$/p' input.output"
-at_fn_check_prepare_dynamic "sed -n '/^state 1$/,/^state 2$/p' input.output" "regression.at:1130"
+$as_echo "$at_srcdir/regression.at:1128: sed -n '/^state 1\$/,/^state 2\$/p' input.output"
+at_fn_check_prepare_dynamic "sed -n '/^state 1$/,/^state 2$/p' input.output" "regression.at:1128"
( $at_check_trace; sed -n '/^state 1$/,/^state 2$/p' input.output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
state 2
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1130"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1128"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_258
-#AT_START_259
-at_fn_group_banner 259 'regression.at:1155' \
+#AT_STOP_264
+#AT_START_265
+at_fn_group_banner 265 'regression.at:1153' \
"Token number in precedence declaration" " " 17
at_xfail=no
(
- $as_echo "259. $at_setup_line: testing $at_desc ..."
+ $as_echo "265. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1195: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1193: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1195"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1193"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1195"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1193"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1195: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "regression.at:1195"
+$as_echo "$at_srcdir/regression.at:1193: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "regression.at:1193"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1195"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1193"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1195: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1193: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1195"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1193"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1195"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1193"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1195: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1193: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1195"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1193"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1195"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1193"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1195: bison -o input.c input.y"
-at_fn_check_prepare_trace "regression.at:1195"
+$as_echo "$at_srcdir/regression.at:1193: bison -o input.c input.y"
+at_fn_check_prepare_trace "regression.at:1193"
( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1195"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1193"
$at_failed && at_fn_log_failure
$at_traceon; }
# Run with -Werror.
{ set +x
-$as_echo "$at_srcdir/regression.at:1195: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Werror"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Werror" "regression.at:1195"
+$as_echo "$at_srcdir/regression.at:1193: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Werror"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Werror" "regression.at:1193"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -o input.c input.y -Werror
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1195"
+at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1193"
$at_failed && at_fn_log_failure
$at_traceon; }
sed -n "$at_bison_check_first,$at_bison_check_last"p \
at-bison-check-warnings >> experr
{ set +x
-$as_echo "$at_srcdir/regression.at:1195: sed 's,.*/\\(bison: warnings being treated as errors\\)\$,\\1,' \\
+$as_echo "$at_srcdir/regression.at:1193: sed 's,.*/\\(bison: warnings being treated as errors\\)\$,\\1,' \\
stderr 1>&2"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1195"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1193"
( $at_check_trace; sed 's,.*/\(bison: warnings being treated as errors\)$,\1,' \
stderr 1>&2
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
$at_diff experr "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1195"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1193"
$at_failed && at_fn_log_failure
$at_traceon; }
# Now check --warnings=error.
cp stderr experr
{ set +x
-$as_echo "$at_srcdir/regression.at:1195: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=error"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=error" "regression.at:1195"
+$as_echo "$at_srcdir/regression.at:1193: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=error"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=error" "regression.at:1193"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=error
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
$at_diff experr "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1195"
+at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1193"
$at_failed && at_fn_log_failure
$at_traceon; }
# -Werror doesn't change the exit status when -Wnone or
# --warnings=none is specified.
{ set +x
-$as_echo "$at_srcdir/regression.at:1195: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Wnone -Werror"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Wnone -Werror" "regression.at:1195"
+$as_echo "$at_srcdir/regression.at:1193: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Wnone -Werror"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y -Wnone -Werror" "regression.at:1193"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -o input.c input.y -Wnone -Werror
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1195"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1193"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1195: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=none -Werror"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=none -Werror" "regression.at:1195"
+$as_echo "$at_srcdir/regression.at:1193: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=none -Werror"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=none -Werror" "regression.at:1193"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -o input.c input.y --warnings=none -Werror
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1195"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1193"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1199: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1199"
+$as_echo "$at_srcdir/regression.at:1197: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1197"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1199"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1197"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1200: \$PREPARSER ./input"
-at_fn_check_prepare_dynamic " $PREPARSER ./input" "regression.at:1200"
+$as_echo "$at_srcdir/regression.at:1198: \$PREPARSER ./input"
+at_fn_check_prepare_dynamic " $PREPARSER ./input" "regression.at:1198"
( $at_check_trace; $PREPARSER ./input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1200"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1198"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1200: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:1200"
+$as_echo "$at_srcdir/regression.at:1198: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:1198"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1200"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1198"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_259
-#AT_START_260
-at_fn_group_banner 260 'regression.at:1213' \
+#AT_STOP_265
+#AT_START_266
+at_fn_group_banner 266 'regression.at:1211' \
"parse-gram.y: LALR = IELR" " " 17
at_xfail=no
(
- $as_echo "260. $at_setup_line: testing $at_desc ..."
+ $as_echo "266. $at_setup_line: testing $at_desc ..."
$at_traceon
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1218: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1216: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c -Dlr.type=lalr input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1218"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1216"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c -Dlr.type=lalr input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1218"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1216"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1218: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c -Dlr.type=lalr input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c -Dlr.type=lalr input.y" "regression.at:1218"
+$as_echo "$at_srcdir/regression.at:1216: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c -Dlr.type=lalr input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c -Dlr.type=lalr input.y" "regression.at:1216"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c -Dlr.type=lalr input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1218"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1216"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1218: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1216: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1218"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1216"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1218"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1216"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1218: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1216: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1218"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1216"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1218"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1216"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1218: bison -o input.c -Dlr.type=lalr input.y"
-at_fn_check_prepare_trace "regression.at:1218"
+$as_echo "$at_srcdir/regression.at:1216: bison -o input.c -Dlr.type=lalr input.y"
+at_fn_check_prepare_trace "regression.at:1216"
( $at_check_trace; bison -o input.c -Dlr.type=lalr input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1218"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1216"
$at_failed && at_fn_log_failure
$at_traceon; }
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1221: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1219: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c -Dlr.type=ielr input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1221"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1219"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c -Dlr.type=ielr input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1221"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1219"
$at_failed && at_fn_log_failure \
"lalr.c"
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1221: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c -Dlr.type=ielr input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c -Dlr.type=ielr input.y" "regression.at:1221"
+$as_echo "$at_srcdir/regression.at:1219: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c -Dlr.type=ielr input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c -Dlr.type=ielr input.y" "regression.at:1219"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c -Dlr.type=ielr input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1221"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1219"
$at_failed && at_fn_log_failure \
"lalr.c"
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1221: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1219: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1221"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1219"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1221"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1219"
$at_failed && at_fn_log_failure \
"lalr.c"
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1221: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1219: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1221"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1219"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1221"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1219"
$at_failed && at_fn_log_failure \
"lalr.c"
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1221: bison -o input.c -Dlr.type=ielr input.y"
-at_fn_check_prepare_trace "regression.at:1221"
+$as_echo "$at_srcdir/regression.at:1219: bison -o input.c -Dlr.type=ielr input.y"
+at_fn_check_prepare_trace "regression.at:1219"
( $at_check_trace; bison -o input.c -Dlr.type=ielr input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1221"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1219"
$at_failed && at_fn_log_failure \
"lalr.c"
$at_traceon; }
mv input.c ielr.c
{ set +x
-$as_echo "$at_srcdir/regression.at:1224: diff lalr.c ielr.c"
-at_fn_check_prepare_trace "regression.at:1224"
+$as_echo "$at_srcdir/regression.at:1222: diff lalr.c ielr.c"
+at_fn_check_prepare_trace "regression.at:1222"
( $at_check_trace; diff lalr.c ielr.c
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1224"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1222"
$at_failed && at_fn_log_failure \
"lalr.c" \
"ielr.c"
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_260
-#AT_START_261
-at_fn_group_banner 261 'regression.at:1234' \
+#AT_STOP_266
+#AT_START_267
+at_fn_group_banner 267 'regression.at:1232' \
"%error-verbose and YYSTACK_USE_ALLOCA" " " 17
at_xfail=no
(
- $as_echo "261. $at_setup_line: testing $at_desc ..."
+ $as_echo "267. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1290: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1288: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1290"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1288"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1290"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1288"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1290: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "regression.at:1290"
+$as_echo "$at_srcdir/regression.at:1288: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "regression.at:1288"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1290"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1288"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1290: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1288: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1290"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1288"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1290"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1288"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1290: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1288: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1290"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1288"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1290"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1288"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1290: bison -o input.c input.y"
-at_fn_check_prepare_trace "regression.at:1290"
+$as_echo "$at_srcdir/regression.at:1288: bison -o input.c input.y"
+at_fn_check_prepare_trace "regression.at:1288"
( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1290"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1288"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1291: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1291"
+$as_echo "$at_srcdir/regression.at:1289: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1289"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1291"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1289"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1292: \$PREPARSER ./input"
-at_fn_check_prepare_dynamic " $PREPARSER ./input" "regression.at:1292"
+$as_echo "$at_srcdir/regression.at:1290: \$PREPARSER ./input"
+at_fn_check_prepare_dynamic " $PREPARSER ./input" "regression.at:1290"
( $at_check_trace; $PREPARSER ./input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1292"
+at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1290"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1292: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:1292"
+$as_echo "$at_srcdir/regression.at:1290: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:1290"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1292"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1290"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_261
-#AT_START_262
-at_fn_group_banner 262 'regression.at:1313' \
+#AT_STOP_267
+#AT_START_268
+at_fn_group_banner 268 'regression.at:1311' \
"%error-verbose overflow" " " 17
at_xfail=no
(
- $as_echo "262. $at_setup_line: testing $at_desc ..."
+ $as_echo "268. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1400: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1398: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1400"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1398"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1400"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1398"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1400: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
-at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "regression.at:1400"
+$as_echo "$at_srcdir/regression.at:1398: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "regression.at:1398"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1400"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1398"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1400: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1398: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1400"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1398"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1400"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1398"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1400: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1398: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1400"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1398"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1400"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1398"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1400: bison -o input.c input.y"
-at_fn_check_prepare_trace "regression.at:1400"
+$as_echo "$at_srcdir/regression.at:1398: bison -o input.c input.y"
+at_fn_check_prepare_trace "regression.at:1398"
( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1400"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1398"
$at_failed && at_fn_log_failure
$at_traceon; }
# as much sense. We ignore the warnings.
CFLAGS="$NO_WERROR_CFLAGS"
{ set +x
-$as_echo "$at_srcdir/regression.at:1407: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1407"
+$as_echo "$at_srcdir/regression.at:1405: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1405"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1407"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1405"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1409: \$PREPARSER ./input"
-at_fn_check_prepare_dynamic " $PREPARSER ./input" "regression.at:1409"
+$as_echo "$at_srcdir/regression.at:1407: \$PREPARSER ./input"
+at_fn_check_prepare_dynamic " $PREPARSER ./input" "regression.at:1407"
( $at_check_trace; $PREPARSER ./input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 2 $at_status "$at_srcdir/regression.at:1409"
+at_fn_check_status 2 $at_status "$at_srcdir/regression.at:1407"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1409: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:1409"
+$as_echo "$at_srcdir/regression.at:1407: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:1407"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1409"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1407"
$at_failed && at_fn_log_failure
$at_traceon; }
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_262
-#AT_START_263
-at_fn_group_banner 263 'regression.at:1423' \
+#AT_STOP_268
+#AT_START_269
+at_fn_group_banner 269 'regression.at:1421' \
"LAC: Exploratory stack" " " 17
at_xfail=no
(
- $as_echo "263. $at_setup_line: testing $at_desc ..."
+ $as_echo "269. $at_setup_line: testing $at_desc ..."
$at_traceon
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1502: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1500: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
-Dparse.lac.memory-trace=full \\
-t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1502"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1500"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
-Dparse.lac.memory-trace=full \
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1500"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1502: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
+$as_echo "$at_srcdir/regression.at:1500: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
-Dparse.lac.memory-trace=full \\
-t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1502"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1500"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
-Dparse.lac.memory-trace=full \
-t -o input.c input.y
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1500"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1502: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1500: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1502"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1500"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1500"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1502: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1500: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1502"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1500"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1500"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1502: bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
+$as_echo "$at_srcdir/regression.at:1500: bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
-Dparse.lac.memory-trace=full \\
-t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1502"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1500"
( $at_check_trace; bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
-Dparse.lac.memory-trace=full \
-t -o input.c input.y
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1500"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1502: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1502"
+$as_echo "$at_srcdir/regression.at:1500: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1500"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1500"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1502: \$PREPARSER ./input > stdout.txt 2> stderr.txt"
-at_fn_check_prepare_dynamic " $PREPARSER ./input > stdout.txt 2> stderr.txt" "regression.at:1502"
+$as_echo "$at_srcdir/regression.at:1500: \$PREPARSER ./input > stdout.txt 2> stderr.txt"
+at_fn_check_prepare_dynamic " $PREPARSER ./input > stdout.txt 2> stderr.txt" "regression.at:1500"
( $at_check_trace; $PREPARSER ./input > stdout.txt 2> stderr.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1502"
+at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1500"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1502: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:1502"
+$as_echo "$at_srcdir/regression.at:1500: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:1500"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1500"
$at_failed && at_fn_log_failure
$at_traceon; }
# Make sure syntax error doesn't forget that 'a' is expected. It would
# be forgotten without lookahead correction.
{ set +x
-$as_echo "$at_srcdir/regression.at:1502: grep 'syntax error,' stderr.txt"
-at_fn_check_prepare_trace "regression.at:1502"
+$as_echo "$at_srcdir/regression.at:1500: grep 'syntax error,' stderr.txt"
+at_fn_check_prepare_trace "regression.at:1500"
( $at_check_trace; grep 'syntax error,' stderr.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
echo >>"$at_stdout"; $as_echo "syntax error, unexpected 'c', expecting 'a' or 'b'
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1500"
$at_failed && at_fn_log_failure
$at_traceon; }
# Check number of default reductions in inconsistent states to be sure
# syntax error is detected before unnecessary reductions are performed.
{ set +x
-$as_echo "$at_srcdir/regression.at:1502: perl -0777 -ne 'print s/inconsistent default reduction//g;' \\
+$as_echo "$at_srcdir/regression.at:1500: perl -0777 -ne 'print s/inconsistent default reduction//g;' \\
< stdout.txt || exit 77"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1502"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1500"
( $at_check_trace; perl -0777 -ne 'print s/inconsistent default reduction//g;' \
< stdout.txt || exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "14" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1500"
$at_failed && at_fn_log_failure
$at_traceon; }
# Check number of default reductions in consistent states to be sure
# it is performed before the syntax error is detected.
{ set +x
-$as_echo "$at_srcdir/regression.at:1502: perl -0777 -ne 'print s/\\bconsistent default reduction//g;' \\
+$as_echo "$at_srcdir/regression.at:1500: perl -0777 -ne 'print s/\\bconsistent default reduction//g;' \\
< stdout.txt || exit 77"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1502"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1500"
( $at_check_trace; perl -0777 -ne 'print s/\bconsistent default reduction//g;' \
< stdout.txt || exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "2" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1500"
$at_failed && at_fn_log_failure
$at_traceon; }
# Check number of reallocs to be sure reallocated memory isn't somehow
# lost between LAC invocations.
{ set +x
-$as_echo "$at_srcdir/regression.at:1502: perl -0777 -ne 'print s/\\(realloc//g;' < stderr.txt \\
+$as_echo "$at_srcdir/regression.at:1500: perl -0777 -ne 'print s/\\(realloc//g;' < stderr.txt \\
|| exit 77"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1502"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1500"
( $at_check_trace; perl -0777 -ne 'print s/\(realloc//g;' < stderr.txt \
|| exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "3" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1500"
$at_failed && at_fn_log_failure
$at_traceon; }
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1503: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1501: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
-Dparse.lac.memory-trace=full \\
-t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1503"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1501"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
-Dparse.lac.memory-trace=full \
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1501"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1503: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
+$as_echo "$at_srcdir/regression.at:1501: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
-Dparse.lac.memory-trace=full \\
-t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1503"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1501"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
-Dparse.lac.memory-trace=full \
-t -o input.c input.y
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1501"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1503: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1501: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1503"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1501"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1501"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1503: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1501: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1503"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1501"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1501"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1503: bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
+$as_echo "$at_srcdir/regression.at:1501: bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
-Dparse.lac.memory-trace=full \\
-t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1503"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1501"
( $at_check_trace; bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
-Dparse.lac.memory-trace=full \
-t -o input.c input.y
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1501"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1503: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1503"
+$as_echo "$at_srcdir/regression.at:1501: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1501"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1501"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1503: \$PREPARSER ./input > stdout.txt 2> stderr.txt"
-at_fn_check_prepare_dynamic " $PREPARSER ./input > stdout.txt 2> stderr.txt" "regression.at:1503"
+$as_echo "$at_srcdir/regression.at:1501: \$PREPARSER ./input > stdout.txt 2> stderr.txt"
+at_fn_check_prepare_dynamic " $PREPARSER ./input > stdout.txt 2> stderr.txt" "regression.at:1501"
( $at_check_trace; $PREPARSER ./input > stdout.txt 2> stderr.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1503"
+at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1501"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1503: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:1503"
+$as_echo "$at_srcdir/regression.at:1501: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:1501"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1501"
$at_failed && at_fn_log_failure
$at_traceon; }
# Make sure syntax error doesn't forget that 'a' is expected. It would
# be forgotten without lookahead correction.
{ set +x
-$as_echo "$at_srcdir/regression.at:1503: grep 'syntax error,' stderr.txt"
-at_fn_check_prepare_trace "regression.at:1503"
+$as_echo "$at_srcdir/regression.at:1501: grep 'syntax error,' stderr.txt"
+at_fn_check_prepare_trace "regression.at:1501"
( $at_check_trace; grep 'syntax error,' stderr.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
echo >>"$at_stdout"; $as_echo "syntax error, unexpected 'c', expecting 'a' or 'b'
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1501"
$at_failed && at_fn_log_failure
$at_traceon; }
# Check number of default reductions in inconsistent states to be sure
# syntax error is detected before unnecessary reductions are performed.
{ set +x
-$as_echo "$at_srcdir/regression.at:1503: perl -0777 -ne 'print s/inconsistent default reduction//g;' \\
+$as_echo "$at_srcdir/regression.at:1501: perl -0777 -ne 'print s/inconsistent default reduction//g;' \\
< stdout.txt || exit 77"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1503"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1501"
( $at_check_trace; perl -0777 -ne 'print s/inconsistent default reduction//g;' \
< stdout.txt || exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "14" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1501"
$at_failed && at_fn_log_failure
$at_traceon; }
# Check number of default reductions in consistent states to be sure
# it is performed before the syntax error is detected.
{ set +x
-$as_echo "$at_srcdir/regression.at:1503: perl -0777 -ne 'print s/\\bconsistent default reduction//g;' \\
+$as_echo "$at_srcdir/regression.at:1501: perl -0777 -ne 'print s/\\bconsistent default reduction//g;' \\
< stdout.txt || exit 77"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1503"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1501"
( $at_check_trace; perl -0777 -ne 'print s/\bconsistent default reduction//g;' \
< stdout.txt || exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "2" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1501"
$at_failed && at_fn_log_failure
$at_traceon; }
# Check number of reallocs to be sure reallocated memory isn't somehow
# lost between LAC invocations.
{ set +x
-$as_echo "$at_srcdir/regression.at:1503: perl -0777 -ne 'print s/\\(realloc//g;' < stderr.txt \\
+$as_echo "$at_srcdir/regression.at:1501: perl -0777 -ne 'print s/\\(realloc//g;' < stderr.txt \\
|| exit 77"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1503"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1501"
( $at_check_trace; perl -0777 -ne 'print s/\(realloc//g;' < stderr.txt \
|| exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "3" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1501"
$at_failed && at_fn_log_failure
$at_traceon; }
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1504: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1502: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
-Dparse.lac.memory-trace=full \\
-t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1504"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1502"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
-Dparse.lac.memory-trace=full \
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1504"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1504: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
+$as_echo "$at_srcdir/regression.at:1502: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
-Dparse.lac.memory-trace=full \\
-t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1504"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1502"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
-Dparse.lac.memory-trace=full \
-t -o input.c input.y
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1504"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1504: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1502: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1504"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1502"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1504"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1504: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1502: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1504"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1502"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1504"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1504: bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
+$as_echo "$at_srcdir/regression.at:1502: bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
-Dparse.lac.memory-trace=full \\
-t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1504"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1502"
( $at_check_trace; bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
-Dparse.lac.memory-trace=full \
-t -o input.c input.y
" | \
$at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1504"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1504: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1504"
+$as_echo "$at_srcdir/regression.at:1502: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1502"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1504"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1504: \$PREPARSER ./input > stdout.txt 2> stderr.txt"
-at_fn_check_prepare_dynamic " $PREPARSER ./input > stdout.txt 2> stderr.txt" "regression.at:1504"
+$as_echo "$at_srcdir/regression.at:1502: \$PREPARSER ./input > stdout.txt 2> stderr.txt"
+at_fn_check_prepare_dynamic " $PREPARSER ./input > stdout.txt 2> stderr.txt" "regression.at:1502"
( $at_check_trace; $PREPARSER ./input > stdout.txt 2> stderr.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1504"
+at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1502"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1504: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:1504"
+$as_echo "$at_srcdir/regression.at:1502: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:1502"
( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1504"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
$at_failed && at_fn_log_failure
$at_traceon; }
# Make sure syntax error doesn't forget that 'a' is expected. It would
# be forgotten without lookahead correction.
{ set +x
-$as_echo "$at_srcdir/regression.at:1504: grep 'syntax error,' stderr.txt"
-at_fn_check_prepare_trace "regression.at:1504"
+$as_echo "$at_srcdir/regression.at:1502: grep 'syntax error,' stderr.txt"
+at_fn_check_prepare_trace "regression.at:1502"
( $at_check_trace; grep 'syntax error,' stderr.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
echo >>"$at_stdout"; $as_echo "syntax error, unexpected 'c', expecting 'a' or 'b'
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1504"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
$at_failed && at_fn_log_failure
$at_traceon; }
# Check number of default reductions in inconsistent states to be sure
# syntax error is detected before unnecessary reductions are performed.
{ set +x
-$as_echo "$at_srcdir/regression.at:1504: perl -0777 -ne 'print s/inconsistent default reduction//g;' \\
+$as_echo "$at_srcdir/regression.at:1502: perl -0777 -ne 'print s/inconsistent default reduction//g;' \\
< stdout.txt || exit 77"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1504"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1502"
( $at_check_trace; perl -0777 -ne 'print s/inconsistent default reduction//g;' \
< stdout.txt || exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "14" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1504"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
$at_failed && at_fn_log_failure
$at_traceon; }
# Check number of default reductions in consistent states to be sure
# it is performed before the syntax error is detected.
{ set +x
-$as_echo "$at_srcdir/regression.at:1504: perl -0777 -ne 'print s/\\bconsistent default reduction//g;' \\
+$as_echo "$at_srcdir/regression.at:1502: perl -0777 -ne 'print s/\\bconsistent default reduction//g;' \\
< stdout.txt || exit 77"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1504"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1502"
( $at_check_trace; perl -0777 -ne 'print s/\bconsistent default reduction//g;' \
< stdout.txt || exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "2" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1504"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
$at_failed && at_fn_log_failure
$at_traceon; }
# Check number of reallocs to be sure reallocated memory isn't somehow
# lost between LAC invocations.
{ set +x
-$as_echo "$at_srcdir/regression.at:1504: perl -0777 -ne 'print s/\\(realloc//g;' < stderr.txt \\
+$as_echo "$at_srcdir/regression.at:1502: perl -0777 -ne 'print s/\\(realloc//g;' < stderr.txt \\
|| exit 77"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1504"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1502"
( $at_check_trace; perl -0777 -ne 'print s/\(realloc//g;' < stderr.txt \
|| exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "3" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1504"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1502"
$at_failed && at_fn_log_failure
$at_traceon; }
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1505: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+$as_echo "$at_srcdir/regression.at:1503: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
--graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
-Dparse.lac.memory-trace=full \\
-t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1505"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1503"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
--graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
-Dparse.lac.memory-trace=full \
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1505"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1505: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
+$as_echo "$at_srcdir/regression.at:1503: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
-Dparse.lac.memory-trace=full \\
-t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1505"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1503"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
-Dparse.lac.memory-trace=full \
-t -o input.c input.y
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1505"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/regression.at:1503: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1503"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/regression.at:1503: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1503"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/regression.at:1503: bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
+ -Dparse.lac.memory-trace=full \\
+ -t -o input.c input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1503"
+( $at_check_trace; bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
+ -Dparse.lac.memory-trace=full \
+ -t -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo >>"$at_stderr"; $as_echo "input.y: conflicts: 21 shift/reduce
+" | \
+ $at_diff - "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+{ set +x
+$as_echo "$at_srcdir/regression.at:1503: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1503"
+( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+{ set +x
+$as_echo "$at_srcdir/regression.at:1503: \$PREPARSER ./input > stdout.txt 2> stderr.txt"
+at_fn_check_prepare_dynamic " $PREPARSER ./input > stdout.txt 2> stderr.txt" "regression.at:1503"
+( $at_check_trace; $PREPARSER ./input > stdout.txt 2> stderr.txt
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; tee stderr <"$at_stderr"
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1503"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+{ set +x
+$as_echo "$at_srcdir/regression.at:1503: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:1503"
+( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+# Make sure syntax error doesn't forget that 'a' is expected. It would
+# be forgotten without lookahead correction.
+{ set +x
+$as_echo "$at_srcdir/regression.at:1503: grep 'syntax error,' stderr.txt"
+at_fn_check_prepare_trace "regression.at:1503"
+( $at_check_trace; grep 'syntax error,' stderr.txt
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+echo >>"$at_stdout"; $as_echo "syntax error, unexpected 'c', expecting 'a' or 'b'
+" | \
+ $at_diff - "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# Check number of default reductions in inconsistent states to be sure
+# syntax error is detected before unnecessary reductions are performed.
+{ set +x
+$as_echo "$at_srcdir/regression.at:1503: perl -0777 -ne 'print s/inconsistent default reduction//g;' \\
+ < stdout.txt || exit 77"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1503"
+( $at_check_trace; perl -0777 -ne 'print s/inconsistent default reduction//g;' \
+ < stdout.txt || exit 77
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+echo >>"$at_stdout"; $as_echo "14" | \
+ $at_diff - "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# Check number of default reductions in consistent states to be sure
+# it is performed before the syntax error is detected.
+{ set +x
+$as_echo "$at_srcdir/regression.at:1503: perl -0777 -ne 'print s/\\bconsistent default reduction//g;' \\
+ < stdout.txt || exit 77"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1503"
+( $at_check_trace; perl -0777 -ne 'print s/\bconsistent default reduction//g;' \
+ < stdout.txt || exit 77
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+echo >>"$at_stdout"; $as_echo "2" | \
+ $at_diff - "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+# Check number of reallocs to be sure reallocated memory isn't somehow
+# lost between LAC invocations.
+{ set +x
+$as_echo "$at_srcdir/regression.at:1503: perl -0777 -ne 'print s/\\(realloc//g;' < stderr.txt \\
+ || exit 77"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1503"
+( $at_check_trace; perl -0777 -ne 'print s/\(realloc//g;' < stderr.txt \
+ || exit 77
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+echo >>"$at_stdout"; $as_echo "3" | \
+ $at_diff - "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1503"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+
+
+
+
+ set +x
+ $at_times_p && times >"$at_times_file"
+) 5>&1 2>&1 7>&- | eval $at_tee_pipe
+read at_status <"$at_status_file"
+#AT_STOP_269
+#AT_START_270
+at_fn_group_banner 270 'regression.at:1515' \
+ "LAC: Memory exhaustion" " " 17
+at_xfail=no
+(
+ $as_echo "270. $at_setup_line: testing $at_desc ..."
+ $at_traceon
+
+
+
+
+# Check for memory exhaustion during parsing.
+
+cat >input.y <<'_ATEOF'
+%code top {
+#include <config.h>
+/* We don't need perfect functions for these tests. */
+#undef malloc
+#undef memcmp
+#undef realloc
+}
+
+%code {
+ #include <stdio.h>
+ static void yyerror (const char *msg);
+ static int yylex (void);
+ #define YYMAXDEPTH 8
+}
+
+%error-verbose
+
+%%
+
+S: A A A A A A A A A ;
+A: /*empty*/ | 'a' ;
+
+%%
+#include <stdio.h>
+/* A C error reporting function. */
+static
+void yyerror (const char *msg)
+{
+
+ fprintf (stderr, "%s\n", msg);
+}
+#include <assert.h>
+static
+int yylex (void)
+{
+ static char const input[] = "";
+ static size_t toknum = 0;
+ int res;
+ ;
+ assert (toknum < sizeof input / sizeof input[0]);
+ res = input[toknum++];
+ ;
+ return res;
+}
+int
+main (void)
+{
+ yydebug = 1;
+ return yyparse ();
+}
+_ATEOF
+
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/regression.at:1554: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
+ -t -o input.c input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1554"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
+ -t -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1554"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/regression.at:1554: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
+ -t -o input.c input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1554"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
+ -t -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1554"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/regression.at:1554: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1554"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1554"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/regression.at:1554: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1554"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1554"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/regression.at:1554: bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
+ -t -o input.c input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1554"
+( $at_check_trace; bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
+ -t -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo >>"$at_stderr"; $as_echo "input.y: conflicts: 8 shift/reduce
+" | \
+ $at_diff - "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1554"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+{ set +x
+$as_echo "$at_srcdir/regression.at:1554: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1554"
+( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1554"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+{ set +x
+$as_echo "$at_srcdir/regression.at:1555: \$PREPARSER ./input"
+at_fn_check_prepare_dynamic " $PREPARSER ./input" "regression.at:1555"
+( $at_check_trace; $PREPARSER ./input
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; tee stderr <"$at_stderr"
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 2 $at_status "$at_srcdir/regression.at:1555"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+{ set +x
+$as_echo "$at_srcdir/regression.at:1555: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:1555"
+( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo >>"$at_stderr"; $as_echo "Starting parse
+Entering state 0
+Reading a token: Now at end of input.
+LAC: initial context established for \$end
+LAC: checking lookahead \$end: R2 G3 R2 G5 R2 G6 R2 G7 R2 G8 R2 G9 R2 G10 R2 G11 R2 (max size exceeded)
+memory exhausted
+Cleanup: discarding lookahead token \$end ()
+Stack now 0
+" | \
+ $at_diff - "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1555"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+# Induce an immediate syntax error with an undefined token, and check
+# for memory exhaustion while building syntax error message.
+
+cat >input.y <<'_ATEOF'
+%code top {
+#include <config.h>
+/* We don't need perfect functions for these tests. */
+#undef malloc
+#undef memcmp
+#undef realloc
+}
+
+%code {
+ #include <stdio.h>
+ static void yyerror (const char *msg);
+ static int yylex (void);
+ #define YYMAXDEPTH 8
+}
+
+%error-verbose
+
+%%
+
+S: A A A A A A A A A ;
+A: /*empty*/ | 'a' ;
+
+%%
+#include <stdio.h>
+/* A C error reporting function. */
+static
+void yyerror (const char *msg)
+{
+
+ fprintf (stderr, "%s\n", msg);
+}
+#include <assert.h>
+static
+int yylex (void)
+{
+ static char const input[] = "z";
+ static size_t toknum = 0;
+ int res;
+ ;
+ assert (toknum < sizeof input / sizeof input[0]);
+ res = input[toknum++];
+ ;
+ return res;
+}
+int
+main (void)
+{
+ yydebug = 1;
+ return yyparse ();
+}
+_ATEOF
+
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/regression.at:1568: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
+ -t -o input.c input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1568"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
+ -t -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1568"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/regression.at:1568: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
+ -t -o input.c input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1568"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
+ -t -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1568"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/regression.at:1568: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1568"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1568"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/regression.at:1568: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1568"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1568"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/regression.at:1568: bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
+ -t -o input.c input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1568"
+( $at_check_trace; bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
+ -t -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo >>"$at_stderr"; $as_echo "input.y: conflicts: 8 shift/reduce
+" | \
+ $at_diff - "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1568"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+{ set +x
+$as_echo "$at_srcdir/regression.at:1568: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1568"
+( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1568"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+{ set +x
+$as_echo "$at_srcdir/regression.at:1569: \$PREPARSER ./input"
+at_fn_check_prepare_dynamic " $PREPARSER ./input" "regression.at:1569"
+( $at_check_trace; $PREPARSER ./input
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; tee stderr <"$at_stderr"
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 2 $at_status "$at_srcdir/regression.at:1569"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+{ set +x
+$as_echo "$at_srcdir/regression.at:1569: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
+at_fn_check_prepare_trace "regression.at:1569"
+( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo >>"$at_stderr"; $as_echo "Starting parse
+Entering state 0
+Reading a token: Next token is token \$undefined ()
+LAC: initial context established for \$undefined
+LAC: checking lookahead \$undefined: Always Err
+Constructing syntax error message
+LAC: checking lookahead \$end: R2 G3 R2 G5 R2 G6 R2 G7 R2 G8 R2 G9 R2 G10 R2 G11 R2 (max size exceeded)
+syntax error
+memory exhausted
+Cleanup: discarding lookahead token \$undefined ()
+Stack now 0
+" | \
+ $at_diff - "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1569"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+
+
+ set +x
+ $at_times_p && times >"$at_times_file"
+) 5>&1 2>&1 7>&- | eval $at_tee_pipe
+read at_status <"$at_status_file"
+#AT_STOP_270
+#AT_START_271
+at_fn_group_banner 271 'regression.at:1664' \
+ "Lex and parse params: \"yacc.c\"" " " 17
+at_xfail=no
+(
+ $as_echo "271. $at_setup_line: testing $at_desc ..."
+ $at_traceon
+
+
+
+
+## FIXME: Improve parsing of parse-param and use the generated
+## yyerror.
+cat >input.y <<'_ATEOF'
+%code top {
+#include <config.h>
+/* We don't need perfect functions for these tests. */
+#undef malloc
+#undef memcmp
+#undef realloc
+}
+
+%defines
+%locations
+%skeleton "yacc.c"
+%union { int ival; }
+%parse-param { int x }
+// Spaces, tabs, and new lines.
+%parse-param {
+ int y
+
+
+}
+
+%{
+#include <stdio.h>
+#include <stdlib.h>
+
+
+static
+void
+yyerror (int x, int y, const char *msg)
+{
+ fprintf (stderr, "x: %d, y: %d, %s\n", x, y, msg);
+}
+
+ static int yylex (void);
+%}
+
+%%
+exp: 'a' { fprintf (stdout, "x: %d, y: %d\n", x, y); };
+%%
+#include <assert.h>
+static
+int yylex (void)
+{
+ static char const input[] = "a";
+ static size_t toknum = 0;
+ int res;
+ ;
+ assert (toknum < sizeof input / sizeof input[0]);
+ res = input[toknum++];
+ ;
+ (yylloc).first_line = (yylloc).last_line = 1;
+ (yylloc).first_column = (yylloc).last_column = toknum;
+ return res;
+}
+
+
+
+int
+main (void)
+{
+ return !!yyparse(1, 2);
+}
+_ATEOF
+
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/regression.at:1664: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -o input.c input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1664"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1664"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/regression.at:1664: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "regression.at:1664"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1664"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.output expout
+ { set +x
+$as_echo "$at_srcdir/regression.at:1664: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1664"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1664"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ cp xml-tests/test.dot expout
+ { set +x
+$as_echo "$at_srcdir/regression.at:1664: \$XSLTPROC \\
+ \`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
+ xml-tests/test.xml"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1664"
+( $at_check_trace; $XSLTPROC \
+ `VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
+ xml-tests/test.xml
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+$at_diff expout "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1664"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ rm -rf xml-tests expout
+ at_restore_special_files
+fi
+{ set +x
+$as_echo "$at_srcdir/regression.at:1664: bison -o input.c input.y"
+at_fn_check_prepare_trace "regression.at:1664"
+( $at_check_trace; bison -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1664"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+ { set +x
+$as_echo "$at_srcdir/regression.at:1664: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1664"
+( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1664"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+{ set +x
+$as_echo "$at_srcdir/regression.at:1664: ./input"
+at_fn_check_prepare_trace "regression.at:1664"
+( $at_check_trace; ./input
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+echo >>"$at_stdout"; $as_echo "x: 1, y: 2
+" | \
+ $at_diff - "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1664"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+
+
+ set +x
+ $at_times_p && times >"$at_times_file"
+) 5>&1 2>&1 7>&- | eval $at_tee_pipe
+read at_status <"$at_status_file"
+#AT_STOP_271
+#AT_START_272
+at_fn_group_banner 272 'regression.at:1665' \
+ "Lex and parse params: \"glr.c\"" " " 17
+at_xfail=no
+(
+ $as_echo "272. $at_setup_line: testing $at_desc ..."
+ $at_traceon
+
+
+
+
+## FIXME: Improve parsing of parse-param and use the generated
+## yyerror.
+cat >input.y <<'_ATEOF'
+%code top {
+#include <config.h>
+/* We don't need perfect functions for these tests. */
+#undef malloc
+#undef memcmp
+#undef realloc
+}
+
+%defines
+%locations
+%skeleton "glr.c"
+%union { int ival; }
+%parse-param { int x }
+// Spaces, tabs, and new lines.
+%parse-param {
+ int y
+
+
+}
+
+%{
+#include <stdio.h>
+#include <stdlib.h>
+
+
+static
+void
+yyerror (int x, int y, const char *msg)
+{
+ fprintf (stderr, "x: %d, y: %d, %s\n", x, y, msg);
+}
+
+ static int yylex (void);
+%}
+
+%%
+exp: 'a' { fprintf (stdout, "x: %d, y: %d\n", x, y); };
+%%
+#include <assert.h>
+static
+int yylex (void)
+{
+ static char const input[] = "a";
+ static size_t toknum = 0;
+ int res;
+ ;
+ assert (toknum < sizeof input / sizeof input[0]);
+ res = input[toknum++];
+ ;
+ (yylloc).first_line = (yylloc).last_line = 1;
+ (yylloc).first_column = (yylloc).last_column = toknum;
+ return res;
+}
+
+
+
+int
+main (void)
+{
+ return !!yyparse(1, 2);
+}
+_ATEOF
+
+
+
+if test x"$BISON_TEST_XML" = x1 && test x"$XSLTPROC" != x""; then
+ at_save_special_files
+ mkdir xml-tests
+ # Don't combine these Bison invocations since we want to be sure that
+ # --report=all isn't required to get the full XML file.
+ { set +x
+$as_echo "$at_srcdir/regression.at:1665: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -o input.c input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1665"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
+ --graph=xml-tests/test.dot -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1665"
+$at_failed && at_fn_log_failure
+$at_traceon; }
+
+ { set +x
+$as_echo "$at_srcdir/regression.at:1665: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y" "regression.at:1665"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.c input.y
+) >>"$at_stdout" 2>>"$at_stderr" 5>&-
+at_status=$? at_failed=false
+$at_check_filter
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1665"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1505: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1665: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1505"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1665"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1505"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1665"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1505: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1665: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1505"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1665"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1505"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1665"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1505: bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
- -Dparse.lac.memory-trace=full \\
- -t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1505"
-( $at_check_trace; bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
- -Dparse.lac.memory-trace=full \
- -t -o input.c input.y
+$as_echo "$at_srcdir/regression.at:1665: bison -o input.c input.y"
+at_fn_check_prepare_trace "regression.at:1665"
+( $at_check_trace; bison -o input.c input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
-echo >>"$at_stderr"; $as_echo "input.y: conflicts: 21 shift/reduce
-" | \
- $at_diff - "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1505"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1665"
$at_failed && at_fn_log_failure
$at_traceon; }
-{ set +x
-$as_echo "$at_srcdir/regression.at:1505: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1505"
+ { set +x
+$as_echo "$at_srcdir/regression.at:1665: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
+at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1665"
( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1505"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1665"
$at_failed && at_fn_log_failure
$at_traceon; }
-{ set +x
-$as_echo "$at_srcdir/regression.at:1505: \$PREPARSER ./input > stdout.txt 2> stderr.txt"
-at_fn_check_prepare_dynamic " $PREPARSER ./input > stdout.txt 2> stderr.txt" "regression.at:1505"
-( $at_check_trace; $PREPARSER ./input > stdout.txt 2> stderr.txt
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-echo stderr:; tee stderr <"$at_stderr"
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1505"
-$at_failed && at_fn_log_failure
-$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1505: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:1505"
-( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
+$as_echo "$at_srcdir/regression.at:1665: ./input"
+at_fn_check_prepare_trace "regression.at:1665"
+( $at_check_trace; ./input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1505"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-
-
-# Make sure syntax error doesn't forget that 'a' is expected. It would
-# be forgotten without lookahead correction.
-{ set +x
-$as_echo "$at_srcdir/regression.at:1505: grep 'syntax error,' stderr.txt"
-at_fn_check_prepare_trace "regression.at:1505"
-( $at_check_trace; grep 'syntax error,' stderr.txt
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-echo >>"$at_stdout"; $as_echo "syntax error, unexpected 'c', expecting 'a' or 'b'
+echo >>"$at_stdout"; $as_echo "x: 1, y: 2
" | \
$at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1505"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-
-# Check number of default reductions in inconsistent states to be sure
-# syntax error is detected before unnecessary reductions are performed.
-{ set +x
-$as_echo "$at_srcdir/regression.at:1505: perl -0777 -ne 'print s/inconsistent default reduction//g;' \\
- < stdout.txt || exit 77"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1505"
-( $at_check_trace; perl -0777 -ne 'print s/inconsistent default reduction//g;' \
- < stdout.txt || exit 77
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-echo >>"$at_stdout"; $as_echo "14" | \
- $at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1505"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-
-# Check number of default reductions in consistent states to be sure
-# it is performed before the syntax error is detected.
-{ set +x
-$as_echo "$at_srcdir/regression.at:1505: perl -0777 -ne 'print s/\\bconsistent default reduction//g;' \\
- < stdout.txt || exit 77"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1505"
-( $at_check_trace; perl -0777 -ne 'print s/\bconsistent default reduction//g;' \
- < stdout.txt || exit 77
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-echo >>"$at_stdout"; $as_echo "2" | \
- $at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1505"
-$at_failed && at_fn_log_failure
-$at_traceon; }
-
-
-# Check number of reallocs to be sure reallocated memory isn't somehow
-# lost between LAC invocations.
-{ set +x
-$as_echo "$at_srcdir/regression.at:1505: perl -0777 -ne 'print s/\\(realloc//g;' < stderr.txt \\
- || exit 77"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1505"
-( $at_check_trace; perl -0777 -ne 'print s/\(realloc//g;' < stderr.txt \
- || exit 77
-) >>"$at_stdout" 2>>"$at_stderr" 5>&-
-at_status=$? at_failed=false
-$at_check_filter
-at_fn_diff_devnull "$at_stderr" || at_failed=:
-echo >>"$at_stdout"; $as_echo "3" | \
- $at_diff - "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1505"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1665"
$at_failed && at_fn_log_failure
$at_traceon; }
-
-
-
-
set +x
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_263
-#AT_START_264
-at_fn_group_banner 264 'regression.at:1517' \
- "LAC: Memory exhaustion" " " 17
+#AT_STOP_272
+#AT_START_273
+at_fn_group_banner 273 'regression.at:1666' \
+ "Lex and parse params: \"lalr1.cc\"" " " 17
at_xfail=no
(
- $as_echo "264. $at_setup_line: testing $at_desc ..."
+ $as_echo "273. $at_setup_line: testing $at_desc ..."
$at_traceon
-# Check for memory exhaustion during parsing.
-
+## FIXME: Improve parsing of parse-param and use the generated
+## yyerror.
cat >input.y <<'_ATEOF'
%code top {
#include <config.h>
#undef realloc
}
-%code {
- #include <stdio.h>
- static void yyerror (const char *msg);
- static int yylex (void);
- #define YYMAXDEPTH 8
+%defines
+%locations
+%skeleton "lalr1.cc"
+%union { int ival; }
+%parse-param { int x }
+// Spaces, tabs, and new lines.
+%parse-param {
+ int y
+
+
}
-%error-verbose
+%{
+#include <stdio.h>
+#include <stdlib.h>
-%%
-S: A A A A A A A A A ;
-A: /*empty*/ | 'a' ;
-%%
-#include <stdio.h>
-/* A C error reporting function. */
-static
-void yyerror (const char *msg)
-{
+ static int yylex (yy::parser::semantic_type *lvalp, yy::parser::location_type *llocp);
+%}
- fprintf (stderr, "%s\n", msg);
-}
+%%
+exp: 'a' { fprintf (stdout, "x: %d, y: %d\n", x, y); };
+%%
#include <assert.h>
static
-int yylex (void)
+int yylex (yy::parser::semantic_type *lvalp, yy::parser::location_type *llocp)
{
- static char const input[] = "";
+ static char const input[] = "a";
static size_t toknum = 0;
int res;
- ;
- assert (toknum < sizeof input);
+ (void) lvalp;(void) llocp;
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
+ (*llocp).begin.line = (*llocp).end.line = 1;
+ (*llocp).begin.column = (*llocp).end.column = toknum;
return res;
}
+
+/* A C++ error reporting function. */
+void
+yy::parser::error (const location_type& l, const std::string& m)
+{
+ (void) l;
+ std::cerr << l << ": " << m << std::endl;
+}
+
+int
+yyparse (int x, int y)
+{
+ yy::parser parser(x, y);
+ return parser.parse ();
+}
+
+
int
main (void)
{
- yydebug = 1;
- return yyparse ();
+ return !!yyparse(1, 2);
}
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1556: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
- --graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
- -t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1556"
+$as_echo "$at_srcdir/regression.at:1666: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -o input.cc input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1666"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
- --graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
- -t -o input.c input.y
+ --graph=xml-tests/test.dot -o input.cc input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1556"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1666"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1556: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
- -t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1556"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
- -t -o input.c input.y
+$as_echo "$at_srcdir/regression.at:1666: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.cc input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.cc input.y" "regression.at:1666"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.cc input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1556"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1666"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1556: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1666: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1556"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1666"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1556"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1666"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1556: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1666: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1556"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1666"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1556"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1666"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1556: bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
- -t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1556"
-( $at_check_trace; bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
- -t -o input.c input.y
+$as_echo "$at_srcdir/regression.at:1666: bison -o input.cc input.y"
+at_fn_check_prepare_trace "regression.at:1666"
+( $at_check_trace; bison -o input.cc input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
-echo >>"$at_stderr"; $as_echo "input.y: conflicts: 8 shift/reduce
-" | \
- $at_diff - "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1556"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1666"
$at_failed && at_fn_log_failure
$at_traceon; }
+
{ set +x
-$as_echo "$at_srcdir/regression.at:1556: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1556"
-( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
+$as_echo "$at_srcdir/regression.at:1666: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "regression.at:1666"
+( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1556"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1666"
$at_failed && at_fn_log_failure
$at_traceon; }
-
-
{ set +x
-$as_echo "$at_srcdir/regression.at:1557: \$PREPARSER ./input"
-at_fn_check_prepare_dynamic " $PREPARSER ./input" "regression.at:1557"
-( $at_check_trace; $PREPARSER ./input
+$as_echo "$at_srcdir/regression.at:1666: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o input input.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o input input.cc $LIBS" "regression.at:1666"
+( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o input input.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
-echo stderr:; tee stderr <"$at_stderr"
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 2 $at_status "$at_srcdir/regression.at:1557"
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1666"
$at_failed && at_fn_log_failure
$at_traceon; }
+
{ set +x
-$as_echo "$at_srcdir/regression.at:1557: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:1557"
-( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
+$as_echo "$at_srcdir/regression.at:1666: ./input"
+at_fn_check_prepare_trace "regression.at:1666"
+( $at_check_trace; ./input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
-echo >>"$at_stderr"; $as_echo "Starting parse
-Entering state 0
-Reading a token: Now at end of input.
-LAC: initial context established for \$end
-LAC: checking lookahead \$end: R2 G3 R2 G5 R2 G6 R2 G7 R2 G8 R2 G9 R2 G10 R2 G11 R2 (max size exceeded)
-memory exhausted
-Cleanup: discarding lookahead token \$end ()
-Stack now 0
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+echo >>"$at_stdout"; $as_echo "x: 1, y: 2
" | \
- $at_diff - "$at_stderr" || at_failed=:
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1557"
+ $at_diff - "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1666"
$at_failed && at_fn_log_failure
$at_traceon; }
-# Induce an immediate syntax error with an undefined token, and check
-# for memory exhaustion while building syntax error message.
+ set +x
+ $at_times_p && times >"$at_times_file"
+) 5>&1 2>&1 7>&- | eval $at_tee_pipe
+read at_status <"$at_status_file"
+#AT_STOP_273
+#AT_START_274
+at_fn_group_banner 274 'regression.at:1667' \
+ "Lex and parse params: \"glr.cc\"" " " 17
+at_xfail=no
+(
+ $as_echo "274. $at_setup_line: testing $at_desc ..."
+ $at_traceon
+
+
+
+## FIXME: Improve parsing of parse-param and use the generated
+## yyerror.
cat >input.y <<'_ATEOF'
%code top {
#include <config.h>
#undef realloc
}
-%code {
- #include <stdio.h>
- static void yyerror (const char *msg);
- static int yylex (void);
- #define YYMAXDEPTH 8
+%defines
+%locations
+%skeleton "glr.cc"
+%union { int ival; }
+%parse-param { int x }
+// Spaces, tabs, and new lines.
+%parse-param {
+ int y
+
+
}
-%error-verbose
+%{
+#include <stdio.h>
+#include <stdlib.h>
-%%
-S: A A A A A A A A A ;
-A: /*empty*/ | 'a' ;
-%%
-#include <stdio.h>
-/* A C error reporting function. */
-static
-void yyerror (const char *msg)
-{
+ static int yylex (yy::parser::semantic_type *lvalp, yy::parser::location_type *llocp);
+%}
- fprintf (stderr, "%s\n", msg);
-}
+%%
+exp: 'a' { fprintf (stdout, "x: %d, y: %d\n", x, y); };
+%%
#include <assert.h>
static
-int yylex (void)
+int yylex (yy::parser::semantic_type *lvalp, yy::parser::location_type *llocp)
{
- static char const input[] = "z";
+ static char const input[] = "a";
static size_t toknum = 0;
int res;
- ;
- assert (toknum < sizeof input);
+ (void) lvalp;(void) llocp;
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
+ (*llocp).begin.line = (*llocp).end.line = 1;
+ (*llocp).begin.column = (*llocp).end.column = toknum;
return res;
}
+
+/* A C++ error reporting function. */
+void
+yy::parser::error (const location_type& l, const std::string& m)
+{
+ (void) l;
+ std::cerr << l << ": " << m << std::endl;
+}
+
+int
+yyparse (int x, int y)
+{
+ yy::parser parser(x, y);
+ return parser.parse ();
+}
+
+
int
main (void)
{
- yydebug = 1;
- return yyparse ();
+ return !!yyparse(1, 2);
}
_ATEOF
# Don't combine these Bison invocations since we want to be sure that
# --report=all isn't required to get the full XML file.
{ set +x
-$as_echo "$at_srcdir/regression.at:1570: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
- --graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
- -t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1570"
+$as_echo "$at_srcdir/regression.at:1667: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \\
+ --graph=xml-tests/test.dot -o input.cc input.y"
+at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1667"
( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --report=all --report-file=xml-tests/test.output \
- --graph=xml-tests/test.dot -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
- -t -o input.c input.y
+ --graph=xml-tests/test.dot -o input.cc input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1570"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1667"
$at_failed && at_fn_log_failure
$at_traceon; }
{ set +x
-$as_echo "$at_srcdir/regression.at:1570: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
- -t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1570"
-( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
- -t -o input.c input.y
+$as_echo "$at_srcdir/regression.at:1667: VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.cc input.y"
+at_fn_check_prepare_dynamic "VALGRIND_OPTS=\"$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.cc input.y" "regression.at:1667"
+( $at_check_trace; VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --xml=xml-tests/test.xml -o input.cc input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1570"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1667"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.output expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1570: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1667: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2text.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1570"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1667"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2text.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1570"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1667"
$at_failed && at_fn_log_failure
$at_traceon; }
cp xml-tests/test.dot expout
{ set +x
-$as_echo "$at_srcdir/regression.at:1570: \$XSLTPROC \\
+$as_echo "$at_srcdir/regression.at:1667: \$XSLTPROC \\
\`VALGRIND_OPTS=\"\$VALGRIND_OPTS --leak-check=summary --show-reachable=no\"; export VALGRIND_OPTS; bison --print-datadir\`/xslt/xml2dot.xsl \\
xml-tests/test.xml"
-at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1570"
+at_fn_check_prepare_notrace 'a `...` command substitution' "regression.at:1667"
( $at_check_trace; $XSLTPROC \
`VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison --print-datadir`/xslt/xml2dot.xsl \
xml-tests/test.xml
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1570"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1667"
$at_failed && at_fn_log_failure
$at_traceon; }
at_restore_special_files
fi
{ set +x
-$as_echo "$at_srcdir/regression.at:1570: bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \\
- -t -o input.c input.y"
-at_fn_check_prepare_notrace 'an embedded newline' "regression.at:1570"
-( $at_check_trace; bison -Dparse.lac=full -Dparse.lac.es-capacity-initial=1 \
- -t -o input.c input.y
+$as_echo "$at_srcdir/regression.at:1667: bison -o input.cc input.y"
+at_fn_check_prepare_trace "regression.at:1667"
+( $at_check_trace; bison -o input.cc input.y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
-echo >>"$at_stderr"; $as_echo "input.y: conflicts: 8 shift/reduce
-" | \
- $at_diff - "$at_stderr" || at_failed=:
+at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1570"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1667"
$at_failed && at_fn_log_failure
$at_traceon; }
+
{ set +x
-$as_echo "$at_srcdir/regression.at:1570: \$CC \$CFLAGS \$CPPFLAGS \$LDFLAGS -o input input.c \$LIBS"
-at_fn_check_prepare_dynamic "$CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS" "regression.at:1570"
-( $at_check_trace; $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
+$as_echo "$at_srcdir/regression.at:1667: \$BISON_CXX_WORKS"
+at_fn_check_prepare_dynamic "$BISON_CXX_WORKS" "regression.at:1667"
+( $at_check_trace; $BISON_CXX_WORKS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1570"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1667"
$at_failed && at_fn_log_failure
$at_traceon; }
-
-
{ set +x
-$as_echo "$at_srcdir/regression.at:1571: \$PREPARSER ./input"
-at_fn_check_prepare_dynamic " $PREPARSER ./input" "regression.at:1571"
-( $at_check_trace; $PREPARSER ./input
+$as_echo "$at_srcdir/regression.at:1667: \$CXX \$CXXFLAGS \$CPPFLAGS \$LDFLAGS -o input input.cc \$LIBS"
+at_fn_check_prepare_dynamic "$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o input input.cc $LIBS" "regression.at:1667"
+( $at_check_trace; $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o input input.cc $LIBS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
-echo stderr:; tee stderr <"$at_stderr"
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 2 $at_status "$at_srcdir/regression.at:1571"
+echo stderr:; cat "$at_stderr"
+echo stdout:; cat "$at_stdout"
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1667"
$at_failed && at_fn_log_failure
$at_traceon; }
+
{ set +x
-$as_echo "$at_srcdir/regression.at:1571: sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr"
-at_fn_check_prepare_trace "regression.at:1571"
-( $at_check_trace; sed >&2 -e '/^profiling:.*:Merge mismatch for summaries/d' stderr
+$as_echo "$at_srcdir/regression.at:1667: ./input"
+at_fn_check_prepare_trace "regression.at:1667"
+( $at_check_trace; ./input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
-echo >>"$at_stderr"; $as_echo "Starting parse
-Entering state 0
-Reading a token: Next token is token \$undefined ()
-LAC: initial context established for \$undefined
-LAC: checking lookahead \$undefined: Always Err
-Constructing syntax error message
-LAC: checking lookahead \$end: R2 G3 R2 G5 R2 G6 R2 G7 R2 G8 R2 G9 R2 G10 R2 G11 R2 (max size exceeded)
-syntax error
-memory exhausted
-Cleanup: discarding lookahead token \$undefined ()
-Stack now 0
+at_fn_diff_devnull "$at_stderr" || at_failed=:
+echo >>"$at_stdout"; $as_echo "x: 1, y: 2
" | \
- $at_diff - "$at_stderr" || at_failed=:
-at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1571"
+ $at_diff - "$at_stdout" || at_failed=:
+at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1667"
$at_failed && at_fn_log_failure
$at_traceon; }
-
-
set +x
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_264
-#AT_START_265
-at_fn_group_banner 265 'c++.at:102' \
+#AT_STOP_274
+#AT_START_275
+at_fn_group_banner 275 'c++.at:102' \
"Doxygen Public Documentation" " " 18
at_xfail=no
(
- $as_echo "265. $at_setup_line: testing $at_desc ..."
+ $as_echo "275. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_265
-#AT_START_266
-at_fn_group_banner 266 'c++.at:103' \
+#AT_STOP_275
+#AT_START_276
+at_fn_group_banner 276 'c++.at:103' \
"Doxygen Private Documentation" " " 18
at_xfail=no
(
- $as_echo "266. $at_setup_line: testing $at_desc ..."
+ $as_echo "276. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_266
-#AT_START_267
-at_fn_group_banner 267 'c++.at:161' \
+#AT_STOP_276
+#AT_START_277
+at_fn_group_banner 277 'c++.at:161' \
"Relative namespace references" " " 18
at_xfail=no
(
- $as_echo "267. $at_setup_line: testing $at_desc ..."
+ $as_echo "277. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_267
-#AT_START_268
-at_fn_group_banner 268 'c++.at:167' \
+#AT_STOP_277
+#AT_START_278
+at_fn_group_banner 278 'c++.at:167' \
"Absolute namespace references" " " 18
at_xfail=no
(
- $as_echo "268. $at_setup_line: testing $at_desc ..."
+ $as_echo "278. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_268
-#AT_START_269
-at_fn_group_banner 269 'c++.at:176' \
+#AT_STOP_278
+#AT_START_279
+at_fn_group_banner 279 'c++.at:176' \
"Syntactically invalid namespace references" " " 18
at_xfail=no
(
- $as_echo "269. $at_setup_line: testing $at_desc ..."
+ $as_echo "279. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_269
-#AT_START_270
-at_fn_group_banner 270 'java.at:360' \
+#AT_STOP_279
+#AT_START_280
+at_fn_group_banner 280 'java.at:360' \
"Calculator " " " 19
at_xfail=no
(
- $as_echo "270. $at_setup_line: testing $at_desc ..."
+ $as_echo "280. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_270
-#AT_START_271
-at_fn_group_banner 271 'java.at:360' \
+#AT_STOP_280
+#AT_START_281
+at_fn_group_banner 281 'java.at:360' \
"Calculator %error-verbose " " " 19
at_xfail=no
(
- $as_echo "271. $at_setup_line: testing $at_desc ..."
+ $as_echo "281. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_271
-#AT_START_272
-at_fn_group_banner 272 'java.at:360' \
+#AT_STOP_281
+#AT_START_282
+at_fn_group_banner 282 'java.at:360' \
"Calculator %locations " " " 19
at_xfail=no
(
- $as_echo "272. $at_setup_line: testing $at_desc ..."
+ $as_echo "282. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_272
-#AT_START_273
-at_fn_group_banner 273 'java.at:360' \
+#AT_STOP_282
+#AT_START_283
+at_fn_group_banner 283 'java.at:360' \
"Calculator %error-verbose %locations " " " 19
at_xfail=no
(
- $as_echo "273. $at_setup_line: testing $at_desc ..."
+ $as_echo "283. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_273
-#AT_START_274
-at_fn_group_banner 274 'java.at:369' \
+#AT_STOP_283
+#AT_START_284
+at_fn_group_banner 284 'java.at:369' \
"Calculator %lex-param { InputStream is } " " " 19
at_xfail=no
(
- $as_echo "274. $at_setup_line: testing $at_desc ..."
+ $as_echo "284. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_274
-#AT_START_275
-at_fn_group_banner 275 'java.at:369' \
+#AT_STOP_284
+#AT_START_285
+at_fn_group_banner 285 'java.at:369' \
"Calculator %error-verbose %lex-param { InputStream is } " "" 19
at_xfail=no
(
- $as_echo "275. $at_setup_line: testing $at_desc ..."
+ $as_echo "285. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_275
-#AT_START_276
-at_fn_group_banner 276 'java.at:369' \
+#AT_STOP_285
+#AT_START_286
+at_fn_group_banner 286 'java.at:369' \
"Calculator %locations %lex-param { InputStream is } " "" 19
at_xfail=no
(
- $as_echo "276. $at_setup_line: testing $at_desc ..."
+ $as_echo "286. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_276
-#AT_START_277
-at_fn_group_banner 277 'java.at:369' \
+#AT_STOP_286
+#AT_START_287
+at_fn_group_banner 287 'java.at:369' \
"Calculator %error-verbose %locations %lex-param { InputStream is } " "" 19
at_xfail=no
(
- $as_echo "277. $at_setup_line: testing $at_desc ..."
+ $as_echo "287. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_277
-#AT_START_278
-at_fn_group_banner 278 'java.at:455' \
+#AT_STOP_287
+#AT_START_288
+at_fn_group_banner 288 'java.at:455' \
"Java parser class and package names" " " 20
at_xfail=no
(
- $as_echo "278. $at_setup_line: testing $at_desc ..."
+ $as_echo "288. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_278
-#AT_START_279
-at_fn_group_banner 279 'java.at:476' \
+#AT_STOP_288
+#AT_START_289
+at_fn_group_banner 289 'java.at:476' \
"Java parser class modifiers" " " 20
at_xfail=no
(
- $as_echo "279. $at_setup_line: testing $at_desc ..."
+ $as_echo "289. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_279
-#AT_START_280
-at_fn_group_banner 280 'java.at:534' \
+#AT_STOP_289
+#AT_START_290
+at_fn_group_banner 290 'java.at:534' \
"Java parser class extends and implements" " " 20
at_xfail=no
(
- $as_echo "280. $at_setup_line: testing $at_desc ..."
+ $as_echo "290. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_280
-#AT_START_281
-at_fn_group_banner 281 'java.at:554' \
+#AT_STOP_290
+#AT_START_291
+at_fn_group_banner 291 'java.at:554' \
"Java %parse-param and %lex-param" " " 20
at_xfail=no
(
- $as_echo "281. $at_setup_line: testing $at_desc ..."
+ $as_echo "291. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_281
-#AT_START_282
-at_fn_group_banner 282 'java.at:628' \
+#AT_STOP_291
+#AT_START_292
+at_fn_group_banner 292 'java.at:628' \
"Java throws specifications" " " 20
at_xfail=no
(
- $as_echo "282. $at_setup_line: testing $at_desc ..."
+ $as_echo "292. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_282
-#AT_START_283
-at_fn_group_banner 283 'java.at:717' \
+#AT_STOP_292
+#AT_START_293
+at_fn_group_banner 293 'java.at:717' \
"Java stype, position_class and location_class" " " 20
at_xfail=no
(
- $as_echo "283. $at_setup_line: testing $at_desc ..."
+ $as_echo "293. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_283
-#AT_START_284
-at_fn_group_banner 284 'java.at:748' \
+#AT_STOP_293
+#AT_START_294
+at_fn_group_banner 294 'java.at:748' \
"Java syntax error handling without error token" " " 20
at_xfail=no
(
- $as_echo "284. $at_setup_line: testing $at_desc ..."
+ $as_echo "294. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_284
-#AT_START_285
-at_fn_group_banner 285 'cxx-type.at:394' \
+#AT_STOP_294
+#AT_START_295
+at_fn_group_banner 295 'cxx-type.at:394' \
"GLR: Resolve ambiguity, impure, no locations" " " 21
at_xfail=no
(
- $as_echo "285. $at_setup_line: testing $at_desc ..."
+ $as_echo "295. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_285
-#AT_START_286
-at_fn_group_banner 286 'cxx-type.at:401' \
+#AT_STOP_295
+#AT_START_296
+at_fn_group_banner 296 'cxx-type.at:401' \
"GLR: Resolve ambiguity, impure, locations" " " 21
at_xfail=no
(
- $as_echo "286. $at_setup_line: testing $at_desc ..."
+ $as_echo "296. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_286
-#AT_START_287
-at_fn_group_banner 287 'cxx-type.at:407' \
+#AT_STOP_296
+#AT_START_297
+at_fn_group_banner 297 'cxx-type.at:407' \
"GLR: Resolve ambiguity, pure, no locations" " " 21
at_xfail=no
(
- $as_echo "287. $at_setup_line: testing $at_desc ..."
+ $as_echo "297. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_287
-#AT_START_288
-at_fn_group_banner 288 'cxx-type.at:414' \
+#AT_STOP_297
+#AT_START_298
+at_fn_group_banner 298 'cxx-type.at:414' \
"GLR: Resolve ambiguity, pure, locations" " " 21
at_xfail=no
(
- $as_echo "288. $at_setup_line: testing $at_desc ..."
+ $as_echo "298. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_288
-#AT_START_289
-at_fn_group_banner 289 'cxx-type.at:421' \
+#AT_STOP_298
+#AT_START_299
+at_fn_group_banner 299 'cxx-type.at:421' \
"GLR: Merge conflicting parses, impure, no locations" "" 21
at_xfail=no
(
- $as_echo "289. $at_setup_line: testing $at_desc ..."
+ $as_echo "299. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_289
-#AT_START_290
-at_fn_group_banner 290 'cxx-type.at:428' \
+#AT_STOP_299
+#AT_START_300
+at_fn_group_banner 300 'cxx-type.at:428' \
"GLR: Merge conflicting parses, impure, locations" "" 21
at_xfail=no
(
- $as_echo "290. $at_setup_line: testing $at_desc ..."
+ $as_echo "300. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_290
-#AT_START_291
-at_fn_group_banner 291 'cxx-type.at:435' \
+#AT_STOP_300
+#AT_START_301
+at_fn_group_banner 301 'cxx-type.at:435' \
"GLR: Merge conflicting parses, pure, no locations" "" 21
at_xfail=no
(
- $as_echo "291. $at_setup_line: testing $at_desc ..."
+ $as_echo "301. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_291
-#AT_START_292
-at_fn_group_banner 292 'cxx-type.at:441' \
+#AT_STOP_301
+#AT_START_302
+at_fn_group_banner 302 'cxx-type.at:441' \
"GLR: Merge conflicting parses, pure, locations" " " 21
at_xfail=no
(
- $as_echo "292. $at_setup_line: testing $at_desc ..."
+ $as_echo "302. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_292
-#AT_START_293
-at_fn_group_banner 293 'cxx-type.at:448' \
+#AT_STOP_302
+#AT_START_303
+at_fn_group_banner 303 'cxx-type.at:448' \
"GLR: Verbose messages, resolve ambiguity, impure, no locations" "" 21
at_xfail=no
(
- $as_echo "293. $at_setup_line: testing $at_desc ..."
+ $as_echo "303. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_293
-#AT_START_294
-at_fn_group_banner 294 'glr-regression.at:25' \
+#AT_STOP_303
+#AT_START_304
+at_fn_group_banner 304 'glr-regression.at:25' \
"Badly Collapsed GLR States" " " 22
at_xfail=no
(
- $as_echo "294. $at_setup_line: testing $at_desc ..."
+ $as_echo "304. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_294
-#AT_START_295
-at_fn_group_banner 295 'glr-regression.at:117' \
+#AT_STOP_304
+#AT_START_305
+at_fn_group_banner 305 'glr-regression.at:117' \
"Improper handling of embedded actions and dollar(-N) in GLR parsers" "" 22
at_xfail=no
(
- $as_echo "295. $at_setup_line: testing $at_desc ..."
+ $as_echo "305. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_295
-#AT_START_296
-at_fn_group_banner 296 'glr-regression.at:233' \
+#AT_STOP_305
+#AT_START_306
+at_fn_group_banner 306 'glr-regression.at:233' \
"Improper merging of GLR delayed action sets" " " 22
at_xfail=no
(
- $as_echo "296. $at_setup_line: testing $at_desc ..."
+ $as_echo "306. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_296
-#AT_START_297
-at_fn_group_banner 297 'glr-regression.at:345' \
+#AT_STOP_306
+#AT_START_307
+at_fn_group_banner 307 'glr-regression.at:345' \
"Duplicate representation of merged trees" " " 22
at_xfail=no
(
- $as_echo "297. $at_setup_line: testing $at_desc ..."
+ $as_echo "307. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_297
-#AT_START_298
-at_fn_group_banner 298 'glr-regression.at:436' \
+#AT_STOP_307
+#AT_START_308
+at_fn_group_banner 308 'glr-regression.at:436' \
"User destructor for unresolved GLR semantic value" "" 22
at_xfail=no
(
- $as_echo "298. $at_setup_line: testing $at_desc ..."
+ $as_echo "308. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_298
-#AT_START_299
-at_fn_group_banner 299 'glr-regression.at:496' \
+#AT_STOP_308
+#AT_START_309
+at_fn_group_banner 309 'glr-regression.at:496' \
"User destructor after an error during a split parse" "" 22
at_xfail=no
(
- $as_echo "299. $at_setup_line: testing $at_desc ..."
+ $as_echo "309. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_299
-#AT_START_300
-at_fn_group_banner 300 'glr-regression.at:550' \
+#AT_STOP_309
+#AT_START_310
+at_fn_group_banner 310 'glr-regression.at:550' \
"Duplicated user destructor for lookahead" " " 22
at_xfail=no
(
- $as_echo "300. $at_setup_line: testing $at_desc ..."
+ $as_echo "310. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_300
-#AT_START_301
-at_fn_group_banner 301 'glr-regression.at:639' \
+#AT_STOP_310
+#AT_START_311
+at_fn_group_banner 311 'glr-regression.at:639' \
"Incorrectly initialized location for empty right-hand side in GLR" "" 22
at_xfail=no
(
- $as_echo "301. $at_setup_line: testing $at_desc ..."
+ $as_echo "311. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_301
-#AT_START_302
-at_fn_group_banner 302 'glr-regression.at:733' \
+#AT_STOP_311
+#AT_START_312
+at_fn_group_banner 312 'glr-regression.at:733' \
"No users destructors if stack 0 deleted" " " 22
at_xfail=no
(
- $as_echo "302. $at_setup_line: testing $at_desc ..."
+ $as_echo "312. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_302
-#AT_START_303
-at_fn_group_banner 303 'glr-regression.at:810' \
+#AT_STOP_312
+#AT_START_313
+at_fn_group_banner 313 'glr-regression.at:810' \
"Corrupted semantic options if user action cuts parse" "" 22
at_xfail=no
(
- $as_echo "303. $at_setup_line: testing $at_desc ..."
+ $as_echo "313. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_303
-#AT_START_304
-at_fn_group_banner 304 'glr-regression.at:864' \
+#AT_STOP_313
+#AT_START_314
+at_fn_group_banner 314 'glr-regression.at:864' \
"Undesirable destructors if user action cuts parse" "" 22
at_xfail=no
(
- $as_echo "304. $at_setup_line: testing $at_desc ..."
+ $as_echo "314. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_304
-#AT_START_305
-at_fn_group_banner 305 'glr-regression.at:922' \
+#AT_STOP_314
+#AT_START_315
+at_fn_group_banner 315 'glr-regression.at:922' \
"Leaked semantic values if user action cuts parse" "" 22
at_xfail=no
(
- $as_echo "305. $at_setup_line: testing $at_desc ..."
+ $as_echo "315. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
if (res == PARENT_RHS_AFTER)
parent_rhs_after_value = 1;;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_305
-#AT_START_306
-at_fn_group_banner 306 'glr-regression.at:1045' \
+#AT_STOP_315
+#AT_START_316
+at_fn_group_banner 316 'glr-regression.at:1045' \
"Incorrect lookahead during deterministic GLR" " " 22
at_xfail=no
(
- $as_echo "306. $at_setup_line: testing $at_desc ..."
+ $as_echo "316. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
yylval.value = res + 'A' - 'a';
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_306
-#AT_START_307
-at_fn_group_banner 307 'glr-regression.at:1169' \
+#AT_STOP_316
+#AT_START_317
+at_fn_group_banner 317 'glr-regression.at:1169' \
"Incorrect lookahead during nondeterministic GLR" "" 22
at_xfail=no
(
- $as_echo "307. $at_setup_line: testing $at_desc ..."
+ $as_echo "317. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_307
-#AT_START_308
-at_fn_group_banner 308 'glr-regression.at:1386' \
+#AT_STOP_317
+#AT_START_318
+at_fn_group_banner 318 'glr-regression.at:1386' \
"Leaked semantic values when reporting ambiguity" "" 22
at_xfail=no
(
- $as_echo "308. $at_setup_line: testing $at_desc ..."
+ $as_echo "318. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_308
-#AT_START_309
-at_fn_group_banner 309 'glr-regression.at:1468' \
+#AT_STOP_318
+#AT_START_319
+at_fn_group_banner 319 'glr-regression.at:1468' \
"Leaked lookahead after nondeterministic parse syntax error" "" 22
at_xfail=no
(
- $as_echo "309. $at_setup_line: testing $at_desc ..."
+ $as_echo "319. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
if (res == 'b')
lookahead_value = 1;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_309
-#AT_START_310
-at_fn_group_banner 310 'glr-regression.at:1528' \
+#AT_STOP_319
+#AT_START_320
+at_fn_group_banner 320 'glr-regression.at:1528' \
"Uninitialized location when reporting ambiguity" "" 22
at_xfail=no
(
- $as_echo "310. $at_setup_line: testing $at_desc ..."
+ $as_echo "320. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_310
-#AT_START_311
-at_fn_group_banner 311 'glr-regression.at:1613' \
+#AT_STOP_320
+#AT_START_321
+at_fn_group_banner 321 'glr-regression.at:1613' \
"Missed %merge type warnings when LHS type is declared later" "" 22
at_xfail=no
(
- $as_echo "311. $at_setup_line: testing $at_desc ..."
+ $as_echo "321. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_311
-#AT_START_312
-at_fn_group_banner 312 'glr-regression.at:1666' \
+#AT_STOP_321
+#AT_START_322
+at_fn_group_banner 322 'glr-regression.at:1666' \
"Ambiguity reports" " " 22
at_xfail=no
(
- $as_echo "312. $at_setup_line: testing $at_desc ..."
+ $as_echo "322. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_312
-#AT_START_313
-at_fn_group_banner 313 'push.at:24' \
+#AT_STOP_322
+#AT_START_323
+at_fn_group_banner 323 'push.at:24' \
"Memory Leak for Early Deletion" " " 23
at_xfail=no
(
- $as_echo "313. $at_setup_line: testing $at_desc ..."
+ $as_echo "323. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_313
-#AT_START_314
-at_fn_group_banner 314 'push.at:83' \
+#AT_STOP_323
+#AT_START_324
+at_fn_group_banner 324 'push.at:83' \
"Multiple impure instances" " " 23
at_xfail=no
(
- $as_echo "314. $at_setup_line: testing $at_desc ..."
+ $as_echo "324. $at_setup_line: testing $at_desc ..."
$at_traceon
static size_t toknum = 0;
int res;
;
- assert (toknum < sizeof input);
+ assert (toknum < sizeof input / sizeof input[0]);
res = input[toknum++];
;
return res;
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_314
-#AT_START_315
-at_fn_group_banner 315 'push.at:144' \
+#AT_STOP_324
+#AT_START_325
+at_fn_group_banner 325 'push.at:144' \
"Unsupported Skeletons" " " 23
at_xfail=no
(
- $as_echo "315. $at_setup_line: testing $at_desc ..."
+ $as_echo "325. $at_setup_line: testing $at_desc ..."
$at_traceon
$at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
-#AT_STOP_315
+#AT_STOP_325