Lines Matching refs:input
29 AT_DATA([input.y],
39 AT_CHECK([[$PERL -pi -e 's/\\(\d{3})/chr(oct($1))/ge' input.y || exit 77]])
41 AT_BISON_CHECK([input.y], [1], [],
42 [[input.y:1.1-2: error: invalid characters: '\0\001\002\377?'
43 input.y:3.1: error: invalid character: '?'
44 input.y:4.14: error: invalid character: '}'
45 input.y:5.1: error: invalid character: '%'
46 input.y:5.2: error: invalid character: '&'
47 input.y:6.1-17: error: invalid directive: '%a-does-not-exist'
48 input.y:7.1: error: invalid character: '%'
49 input.y:7.2: error: invalid character: '-'
50 input.y:8.1-9.0: error: missing '%}' at end of file
51 input.y:8.1-9.0: error: syntax error, unexpected %{...%}
62 AT_DATA([input.y],
72 AT_BISON_CHECK([input.y], [1], [],
73 [[input.y:3.1-15: error: syntax error, unexpected %initial-action, expecting {...}
86 AT_DATA([input.y],
92 AT_BISON_CHECK([input.y], [1], [],
93 [[input.y:2.13-14: error: integer out of range: '$1'
94 input.y:3.13-14: error: integer out of range: '@1'
106 AT_DATA([input.y],
117 AT_BISON_CHECK([input.y], [1], [],
118 [[input.y:5.12-13: error: $$ for the midrule at $2 of 'exp' has no declared type
119 input.y:5.24-25: error: $2 of 'exp' has no declared type
120 input.y:5.6-32: warning: type clash on default action: <bar> != <>
121 input.y:6.6-8: warning: type clash on default action: <bar> != <>
122 input.y:7.5: warning: empty rule for typed nonterminal, and no action
150 [AT_DATA([input.y],
177 AT_BISON_CHECK(m4_ifval($2, [--warnings=midrule-values ])[-fcaret input.y],
179 [[input.y:11.10-32: warning: unset value: $][$
182 input.y:11.10-12: warning: unused value: $][1
185 input.y:11.18-20: warning: unused value: $][3
188 input.y:11.26-28: warning: unused value: $][5
191 input.y:12.9: warning: empty rule for typed nonterminal, and no action
194 ]]m4_ifval($2, [[[input.y:13.14-20: warning: unset value: $][$
197 input.y:13.26-41: warning: unset value: $][$
200 ]]])[[input.y:13.10-62: warning: unset value: $][$
203 input.y:13.22-24: warning: unused value: $][3
206 input.y:13.43-45: warning: unused value: $][5
209 ]]m4_ifval($2, [[[input.y:14.14-16: warning: unset value: $][$
212 ]]])[[input.y:14.10-49: warning: unset value: $][$
215 input.y:14.18-20: warning: unused value: $][3
218 input.y:14.30-32: warning: unused value: $][5
221 input.y:15.10-37: warning: unset value: $][$
224 input.y:15.18-20: warning: unused value: $][3
227 input.y:15.27-29: warning: unused value: $][5
230 input.y:17.10-58: warning: unset value: $][$
233 input.y:17.10-12: warning: unused value: $][1
236 ]]m4_ifval($2, [[[input.y:17.14-29: warning: unused value: $][2
239 ]]])[[input.y:17.31-33: warning: unused value: $][3
242 ]]m4_ifval($2, [[[input.y:17.35-50: warning: unused value: $][4
245 ]]])[[input.y:17.52-54: warning: unused value: $][5
248 input.y:18.10-72: warning: unset value: $][$
251 input.y:18.10-12: warning: unused value: $][1
254 input.y:18.31-33: warning: unused value: $][3
257 ]]m4_ifval($2, [[[input.y:18.35-64: warning: unused value: $][4
260 ]]])[[input.y:18.66-68: warning: unused value: $][5
263 ]]m4_ifval($2, [[[input.y:20.18-37: warning: unused value: $][3
266 ]]])[[input.y:21.10-68: warning: unset value: $][$
269 input.y:21.10-12: warning: unused value: $][1
272 input.y:21.14-16: warning: unused value: $][2
275 ]]m4_ifval($2, [[[input.y:21.35-64: warning: unused value: $][4
307 AT_DATA([[input.y]],
331 AT_BISON_CHECK([input.y], [1], [],
332 [[input.y:1.13-29: error: redeclaration for default tagged %destructor
333 input.y:1.13-29: previous declaration
334 input.y:2.10-24: error: redeclaration for default tagged %printer
335 input.y:2.10-24: previous declaration
336 input.y:4.13-29: error: redeclaration for default tagged %destructor
337 input.y:1.13-29: previous declaration
338 input.y:5.10-24: error: redeclaration for default tagged %printer
339 input.y:2.10-24: previous declaration
340 input.y:7.13-29: error: redeclaration for default tagless %destructor
341 input.y:7.13-29: previous declaration
342 input.y:8.10-24: error: redeclaration for default tagless %printer
343 input.y:8.10-24: previous declaration
344 input.y:10.13-29: error: redeclaration for default tagless %destructor
345 input.y:7.13-29: previous declaration
346 input.y:11.10-24: error: redeclaration for default tagless %printer
347 input.y:8.10-24: previous declaration
348 input.y:17.13-29: error: redeclaration for default tagged %destructor
349 input.y:4.13-29: previous declaration
350 input.y:18.10-24: error: redeclaration for default tagged %printer
351 input.y:5.10-24: previous declaration
352 input.y:20.13-29: error: redeclaration for default tagless %destructor
353 input.y:10.13-29: previous declaration
354 input.y:21.10-24: error: redeclaration for default tagless %printer
355 input.y:11.10-24: previous declaration
367 AT_DATA([[input.y]],
382 AT_BISON_CHECK([input.y], [1], [],
383 [[input.y:4.13-29: error: %destructor redeclaration for <field1>
384 input.y:1.13-29: previous declaration
385 input.y:4.13-29: error: %destructor redeclaration for <field1>
386 input.y:4.13-29: previous declaration
387 input.y:5.10-24: error: %printer redeclaration for <field2>
388 input.y:2.10-24: previous declaration
389 input.y:5.10-24: error: %printer redeclaration for <field2>
390 input.y:5.10-24: previous declaration
391 input.y:11.13-29: error: %destructor redeclaration for <field1>
392 input.y:4.13-29: previous declaration
393 input.y:11.13-29: error: %destructor redeclaration for <field2>
394 input.y:1.13-29: previous declaration
395 input.y:12.10-24: error: %printer redeclaration for <field1>
396 input.y:2.10-24: previous declaration
397 input.y:12.10-24: error: %printer redeclaration for <field2>
398 input.y:5.10-24: previous declaration
410 AT_DATA([[input.y]],
421 AT_BISON_CHECK([input.y], [0], [],
422 [[input.y:6.8-45: warning: unset value: $$
423 input.y:6.12-14: warning: unused value: $2
424 input.y:7.6-8: warning: unset value: $$
427 AT_DATA([[input.y]],
438 AT_BISON_CHECK([input.y], [0], [],
439 [[input.y:6.23-28: warning: unused value: $4
440 input.y:8.9-11: warning: unset value: $$
452 AT_DATA([[input.y]],
462 AT_BISON_CHECK([input.y], [0], [],
463 [[input.y:6.8-22: warning: unset value: $$
464 input.y:6.12-14: warning: unused value: $2
465 input.y:7.6-8: warning: unset value: $$
477 AT_DATA([input.y],
494 AT_BISON_CHECK([input.y], [1], [],
495 [[input.y:8.7-11: error: %type redeclaration for foo
496 input.y:3.7-11: previous declaration
497 input.y:10.13-17: error: %destructor redeclaration for foo
498 input.y:5.13-17: previous declaration
499 input.y:9.10-14: error: %printer redeclaration for foo
500 input.y:4.10-14: previous declaration
501 input.y:11.1-5: error: %left redeclaration for foo
502 input.y:6.1-5: previous declaration
519 AT_DATA([input.y], [])
520 AT_BISON_CHECK([input.y], [1], [],
521 [[input.y:1.1: error: syntax error, unexpected end of file
525 AT_DATA([input.y],
528 AT_BISON_CHECK([input.y], [1], [],
529 [[input.y:1.1-2: error: syntax error, unexpected {...}
533 AT_DATA_GRAMMAR([input.y],
633 static char const input[] = "@<:@\1\2$@{@oline@__@&t@oline__\
637 assert (toknum < sizeof input);
638 yylval = value_as_yystype (input[toknum]);
639 return input[toknum++];
647 #include "input.h"
659 AT_BISON_CHECK([-d -v -o input.c input.y])
660 AT_COMPILE([input.o])
662 AT_COMPILE([input], [input.o main.o])
663 AT_PARSER_CHECK([./input], 0,
678 AT_DATA_GRAMMAR([input.y],
690 AT_BISON_CHECK([-o input.c input.y])
701 AT_DATA_GRAMMAR([input.y],
706 AT_BISON_CHECK([-o input.c input.y], $2, [], ignore)
725 AT_DATA_GRAMMAR([input.y],
732 AT_BISON_CHECK([-o input.c input.y])
744 AT_DATA_GRAMMAR([input.y],
766 AT_BISON_CHECK([--yacc input.y], [1], [],
767 [[input.y:9.8-16: POSIX Yacc forbids dashes in symbol names: WITH-DASH
768 input.y:18.8-16: POSIX Yacc forbids dashes in symbol names: with-dash
772 AT_BISON_CHECK([-Wyacc input.y], [], [],
773 [[input.y:9.8-16: warning: POSIX Yacc forbids dashes in symbol names: WITH-DASH
774 input.y:18.8-16: warning: POSIX Yacc forbids dashes in symbol names: with-dash
778 AT_BISON_CHECK([-o input.c input.y])
781 AT_COMPILE([input.o])
786 AT_DATA_GRAMMAR([input.y],
794 AT_BISON_CHECK([-o input.c input.y], [1], [],
795 [[input.y:10.10: error: invalid character: '-'
796 input.y:11.10-16: error: invalid identifier: '1NV4L1D'
797 input.y:12.10: error: invalid character: '-'
852 AT_DATA([input.y],
874 AT_BISON_CHECK([-o input.c input.y], 1, [],
875 [[input.y:1.10-2.0: error: missing '"' at end of line
876 input.y:4.10-5.0: error: missing "'" at end of line
877 input.y:14.11-15.0: error: missing "'" at end of line
878 input.y:16.11-17.0: error: missing '"' at end of line
879 input.y:19.13-20.0: error: missing '}' at end of file
880 input.y:20.1: error: syntax error, unexpected end of file
883 AT_BISON_CHECK([-fcaret -o input.c input.y], 1, [],
884 [[input.y:1.10-2.0: error: missing '"' at end of line
887 input.y:4.10-5.0: error: missing "'" at end of line
890 input.y:14.11-15.0: error: missing "'" at end of line
893 input.y:16.11-17.0: error: missing '"' at end of line
896 input.y:19.13-20.0: error: missing '}' at end of file
899 input.y:20.1: error: syntax error, unexpected end of file
914 AT_DATA([input.y],
921 AT_BISON_CHECK([-o input.c input.y])
934 AT_DATA([input.y],
940 AT_BISON_CHECK([input.y], [1], [],
941 [[input.y:3.1-4: error: rule given for PREC, which is a token
955 AT_DATA([[input.y]],
960 AT_BISON_CHECK([[input.y]], [[0]], [],
961 [[input.y:2.8-17: warning: token for %prec is not defined: PREC
973 AT_DATA([input-c.y],
981 AT_BISON_CHECK([[input-c.y]], [[1]], [],
982 [[input-c.y:1.7: error: %code qualifier 'q' is not used
983 input-c.y:2.7-9: error: %code qualifier 'bad' is not used
984 input-c.y:3.7-9: error: %code qualifier 'bad' is not used
985 input-c.y:4.7-12: error: %code qualifier 'format' is not used
988 AT_DATA([input-c-glr.y],
995 AT_BISON_CHECK([[input-c-glr.y]], [[1]], [],
996 [[input-c-glr.y:1.7: error: %code qualifier 'q' is not used
997 input-c-glr.y:2.7-9: error: %code qualifier 'bad' is not used
998 input-c-glr.y:3.8-10: error: %code qualifier 'bad' is not used
1001 AT_DATA([input-c++.y],
1008 AT_BISON_CHECK([[input-c++.y]], [[1]], [],
1009 [[input-c++.y:1.7: error: %code qualifier 'q' is not used
1010 input-c++.y:2.7-9: error: %code qualifier 'bad' is not used
1011 input-c++.y:3.8: error: %code qualifier 'q' is not used
1014 AT_DATA([input-c++-glr.y],
1021 AT_BISON_CHECK([[input-c++-glr.y]], [[1]], [],
1022 [[input-c++-glr.y:1.7-9: error: %code qualifier 'bad' is not used
1023 input-c++-glr.y:2.7: error: %code qualifier 'q' is not used
1024 input-c++-glr.y:3.7: error: %code qualifier 'q' is not used
1062 AT_DATA([input-redefined.y],
1072 AT_BISON_CHECK([[input-redefined.y]], [[1]], [],
1073 [[input-redefined.y:2.9-11: error: %define variable 'var' redefined
1074 input-redefined.y:1.9-11: previous definition
1075 input-redefined.y:3.10-12: error: %define variable 'var' redefined
1076 input-redefined.y:2.9-11: previous definition
1079 AT_DATA([input-unused.y],
1085 AT_BISON_CHECK([[input-unused.y]], [[1]], [],
1086 [[input-unused.y:1.9-11: error: %define variable 'var' is not used
1107 AT_DATA([[input.y]],
1116 --skeleton ./skel.c input.y]])
1117 AT_CHECK([[cat input.tab.c]], [[0]],
1124 AT_DATA([[input-dg.y]],
1129 AT_BISON_CHECK([[-Dvar=cmd-d input-dg.y]], [[1]], [],
1130 [[input-dg.y:1.9-11: error: %define variable 'var' redefined
1134 AT_DATA([[input-dg.y]],
1139 AT_BISON_CHECK([[-fcaret -Dvar=cmd-d input-dg.y]], [[1]], [],
1140 [[input-dg.y:1.9-11: error: %define variable 'var' redefined
1146 AT_DATA([[input-unused.y]],
1150 AT_BISON_CHECK([[-Dunused-d -Funused-f input-unused.y]], [[1]], [],
1184 AT_DATA([[input.y]],
1189 AT_BISON_CHECK([[input.y]], [[1]], [[]],
1190 [[input.y:1.9-29: error: invalid value for %define variable 'lr.default-reductions': 'bogus'
1191 input.y:1.9-29: accepted value: 'most'
1192 input.y:1.9-29: accepted value: 'consistent'
1193 input.y:1.9-29: accepted value: 'accepting'
1198 AT_DATA([[input.y]],
1203 AT_BISON_CHECK([[input.y]], [1], [],
1204 [[input.y:1.9-21: error: invalid value for %define variable 'api.push-pull': 'neither'
1205 input.y:1.9-21: error: accepted value: 'pull'
1206 input.y:1.9-21: error: accepted value: 'push'
1207 input.y:1.9-21: error: accepted value: 'both'
1221 AT_DATA([[input.y]],
1226 AT_BISON_CHECK([[input.y]], [1], [],
1227 [[input.y:1.9-21: error: invalid value for %define variable 'api.push-pull': 'neither'
1228 input.y:1.9-21: error: accepted value: 'pull'
1229 input.y:1.9-21: error: accepted value: 'push'
1230 input.y:1.9-21: error: accepted value: 'both'
1233 AT_DATA([[input.y]],
1238 AT_BISON_CHECK([[input.y]], [1], [],
1239 [[input.y:1.9-34: error: invalid value for %define Boolean variable 'lr.keep-unreachable-states'
1242 AT_DATA([[input.y]],
1247 AT_BISON_CHECK([[input.y]], [[1]], [],
1248 [[input.y:1.9-15: error: %define variable 'foo_bar' is not used
1265 AT_DATA([[input.y]],
1272 AT_BISON_CHECK([[input.y]], [[1]], [],
1273 [[input.y:1.9-16: error: %define variable 'api.pure' is not used
1297 AT_DATA([[input.y]],
1305 AT_BISON_CHECK([[input.y]], [1], [],
1307 [[input.y:3.9-17: error: ]b4_arg[
1401 AT_DATA([input.y],
1412 AT_CHECK([[$PERL -e 'print "start: \"\\\t\\\f\\\0\\\1\" ;";' >> input.y \
1415 AT_BISON_CHECK([input.y], [1], [],
1416 [[input.y:2.9-12: error: invalid number after \-escape: 777
1417 input.y:2.8-13: warning: empty character literal
1418 input.y:2.16-17: error: invalid number after \-escape: 0
1419 input.y:2.15-18: warning: empty character literal
1420 input.y:2.21-25: error: invalid number after \-escape: xfff
1421 input.y:2.20-26: warning: empty character literal
1422 input.y:2.29-31: error: invalid number after \-escape: x0
1423 input.y:2.28-32: warning: empty character literal
1424 input.y:3.9-14: error: invalid number after \-escape: uffff
1425 input.y:3.8-15: warning: empty character literal
1426 input.y:3.18-23: error: invalid number after \-escape: u0000
1427 input.y:3.17-24: warning: empty character literal
1428 input.y:3.27-36: error: invalid number after \-escape: Uffffffff
1429 input.y:3.26-37: warning: empty character literal
1430 input.y:3.40-49: error: invalid number after \-escape: U00000000
1431 input.y:3.39-50: warning: empty character literal
1432 input.y:4.9-10: error: invalid character after \-escape: ' '
1433 input.y:4.8-11: warning: empty character literal
1434 input.y:4.14-15: error: invalid character after \-escape: A
1435 input.y:4.13-16: warning: empty character literal
1436 input.y:5.9-16: error: invalid character after \-escape: \t
1437 input.y:5.17: error: invalid character after \-escape: \f
1438 input.y:5.18: error: invalid character after \-escape: \0
1439 input.y:5.19: error: invalid character after \-escape: \001
1450 AT_DATA([[input.y]],
1456 AT_BISON_CHECK([[-Dparse.lac.es-capacity-initial=1 input.y]],
1460 AT_BISON_CHECK([[-Dparse.lac.memory-trace=full input.y]],
1473 AT_DATA([[input.y]],
1479 AT_BISON_CHECK([[-Wall input.y]], [[0]], [[]],
1480 [[input.y:2.1-7: warning: POSIX Yacc forbids dashes in symbol names: foo-bar
1482 AT_BISON_CHECK([[-W input.y]], [[0]], [[]],
1483 [[input.y:2.1-7: warning: POSIX Yacc forbids dashes in symbol names: foo-bar
1485 AT_BISON_CHECK([[-Wno-none input.y]], [[0]], [[]],
1486 [[input.y:2.1-7: warning: POSIX Yacc forbids dashes in symbol names: foo-bar
1490 AT_BISON_CHECK([[-Werror,none,yacc input.y]], [[1]], [[]], [[stderr]])
1493 input.y:2.1-7: warning: POSIX Yacc forbids dashes in symbol names: foo-bar
1496 AT_BISON_CHECK([[-Werror,no-all,yacc input.y]], [[1]], [[]], [[experr]])
1510 [AT_DATA([[input.y]],
1515 AT_BISON_CHECK([[$2 input.y]], [[1]], [[]],
1520 AT_TEST([%define api.prefix foo %name-prefix "bar"], [], [input.y:1.9-18])
1523 AT_TEST([%define api.prefix foo], [-p bar], [input.y:1.9-18])
1539 AT_DATA_GRAMMAR([[input.y]],
1548 AT_BISON_CHECK([[input.y]], 0, [],
1549 [[input.y:10.19: warning: stray '$'
1550 input.y:10.23: warning: stray '@'
1551 input.y:11.19: warning: stray '$'
1552 input.y:11.23: warning: stray '@'
1553 input.y:12.19: warning: stray '$'
1554 input.y:12.23: warning: stray '@'
1555 input.y:14.19: warning: stray '$'
1556 input.y:14.23: warning: stray '@'
1576 [AT_DATA([[input.y]],
1612 AT_BISON_CHECK([[-d input.y]])
1613 AT_BISON_CHECK([[-d -S glr.c input.y]])
1614 AT_BISON_CHECK([[-d -S lalr1.cc input.y]])
1615 AT_BISON_CHECK([[-d -S glr.cc input.y]])
1616 AT_BISON_CHECK([[ -S lalr1.java input.y]])