Lines Matching refs:calc

30 # Produce `calc.y' and, if %defines was specified, `calc-lex.c' or
31 # `calc-lex.cc'.
38 # Otherwise, generate three: calc.y with the parser, calc-lex.c with
39 # the scanner, and calc-main.c with "main()". This is in order to
209 AT_DATA_GRAMMAR([calc.y],
210 [[/* Infix notation calculator--calc */
313 fprintf (stderr, "calc: error: %d != %d\n", $1, $3);
357 AT_DEFINES_IF([AT_DATA_SOURCE([[calc-lex.c]AT_SKEL_CC_IF([[c]])],
358 [[#include "calc.h]AT_SKEL_CC_IF([[h]])["
361 AT_DATA_SOURCE([[calc-main.c]AT_SKEL_CC_IF([[c]])],
362 [[#include "calc.h]AT_SKEL_CC_IF([[h]])["
373 # Produce `calc.y' and, if %defines was specified, `calc-lex.c' or
374 # `calc-lex.cc'.
383 # Run `calc' on INPUT and expect no STDOUT nor STDERR.
396 AT_PARSER_CHECK([./calc input], 0, [], [stderr])
404 # Run `calc' on INPUT, and expect a `syntax error' message.
423 [AT_PARSER_CHECK([./calc $3], $2, [], [stderr])],
427 AT_PARSER_CHECK([./calc input], $2, [], [stderr])])
484 # Start a testing chunk which compiles `calc' grammar with
495 AT_FULL_COMPILE([calc], AT_DEFINES_IF([[lex], [main]]))
496 AT_CHECK_SPACES([calc.AT_SKEL_CC_IF([cc], [c])])
497 AT_DEFINES_IF([AT_CHECK_SPACES([calc.AT_SKEL_CC_IF([hh], [h])])])
557 calc: error: 4444 != 1])
563 calc: error: 2222 != 1])
567 calc: error: 2222 != 1])
592 # Start a testing chunk which compiles `calc' grammar with
602 AT_CHECK_CALC_LALR([%name-prefix="calc"]) dnl test deprecated `='
611 AT_CHECK_CALC_LALR([%error-verbose %locations %defines %name-prefix "calc" %verbose %yacc])
612 AT_CHECK_CALC_LALR([%error-verbose %locations %defines %define api.prefix "calc" %verbose %yacc])
615 AT_CHECK_CALC_LALR([%error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc])
616 AT_CHECK_CALC_LALR([%error-verbose %debug %locations %defines %define api.prefix "calc" %verbose %y…
618 AT_CHECK_CALC_LALR([%define api.pure full %verbose %debug %locations %defines %name-prefix "calc" %…
619 …define api.pure full %verbose %debug %locations %defines %define api.prefix "calc" %verbose %yacc])
621 …ne api.pure %error-verbose %debug %locations %defines %define api.prefix "calc" %verbose %yacc %pa…
632 # Start a testing chunk which compiles `calc' grammar with
642 AT_CHECK_CALC_GLR([%name-prefix "calc"])
643 AT_CHECK_CALC_GLR([%define api.prefix "calc"])
651 AT_CHECK_CALC_GLR([%error-verbose %locations %defines %name-prefix "calc" %verbose %yacc])
654 AT_CHECK_CALC_GLR([%error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc])
655 AT_CHECK_CALC_GLR([%error-verbose %debug %locations %defines %define api.prefix "calc" %verbose %ya…
657 AT_CHECK_CALC_GLR([%define api.pure %error-verbose %debug %locations %defines %name-prefix "calc" %…
659 AT_CHECK_CALC_GLR([%define api.pure %error-verbose %debug %locations %defines %name-prefix "calc" %…
660 …ne api.pure %error-verbose %debug %locations %defines %define api.prefix "calc" %verbose %yacc %pa…
674 # Start a testing chunk which compiles `calc' grammar with
681 AT_CHECK_CALC_LALR1_CC([%error-verbose %name-prefix "calc" %verbose %yacc])
682 AT_CHECK_CALC_LALR1_CC([%error-verbose %define api.prefix "calc" %verbose %yacc])
683 AT_CHECK_CALC_LALR1_CC([%error-verbose %debug %name-prefix "calc" %verbose %yacc])
685 AT_CHECK_CALC_LALR1_CC([%pure-parser %error-verbose %debug %define api.prefix "calc" %verbose %yacc…
687 AT_CHECK_CALC_LALR1_CC([%pure-parser %error-verbose %debug %name-prefix "calc" %verbose %yacc %pars…
688 AT_CHECK_CALC_LALR1_CC([%pure-parser %error-verbose %debug %define api.prefix "calc" %verbose %yacc…
703 # Start a testing chunk which compiles `calc' grammar with
710 AT_CHECK_CALC_GLR_CC([%error-verbose %name-prefix "calc" %verbose %yacc])
711 AT_CHECK_CALC_GLR_CC([%error-verbose %define api.prefix "calc" %verbose %yacc])
714 AT_CHECK_CALC_GLR_CC([%error-verbose %debug %name-prefix "calc" %verbose %yacc])
716 AT_CHECK_CALC_GLR_CC([%pure-parser %error-verbose %debug %name-prefix "calc" %verbose %yacc])
718 AT_CHECK_CALC_GLR_CC([%pure-parser %error-verbose %debug %name-prefix "calc" %verbose %yacc %parse-…
719 AT_CHECK_CALC_GLR_CC([%pure-parser %error-verbose %debug %define api.prefix "calc" %verbose %yacc %…