merge conflicts.

This commit is contained in:
christos 2017-06-05 18:54:30 +00:00
parent 8be1257ff5
commit 6095586479
52 changed files with 335 additions and 98 deletions

View File

@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.6 2015/04/14 14:08:36 christos Exp $
# $NetBSD: Makefile,v 1.7 2017/06/05 18:54:30 christos Exp $
.include "bsd.own.mk"
PROG= yacc
SRCS= closure.c error.c lalr.c lr0.c main.c mkpar.c output.c reader.c \
symtab.c verbose.c warshall.c graph.c mstring.c yaccpar.c
symtab.c verbose.c warshall.c graph.c mstring.c btyaccpar.c
CPPFLAGS+= -DMAXTABLE=INT_MAX
CPPFLAGS+= -DGCC_NORETURN=__dead

View File

@ -1,6 +1,6 @@
#! /bin/sh
#
# $NetBSD: byacc2netbsd,v 1.4 2011/10/08 19:28:39 christos Exp $
# $NetBSD: byacc2netbsd,v 1.5 2017/06/05 18:54:30 christos Exp $
#
# Copyright (c) 2000 The NetBSD Foundation, Inc.
# All rights reserved.
@ -34,7 +34,7 @@
#
# $ cd /some/where/temporary
# $ tar xpfz /new/byacc/release/tar/file
# $ sh /usr/src/external/bsd/byacc/dist/byacc2netbsd byacc-YYYYMMDD `pwd`
# $ sh /usr/src/external/bsd/byacc/byacc2netbsd byacc-YYYYMMDD `pwd`
# $ cd src/external/bsd/byacc/dist
# $ cvs import -m "Import byacc YYYYMMDD" src/external/bsd/byacc/dist DICKEY byacc-YYYYMMDD
# $ cd ../../../../../byacc-YYYYMMDD

View File

@ -1,10 +1,10 @@
/* $NetBSD: btyaccpar.c,v 1.3 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: btyaccpar.c,v 1.4 2017/06/05 18:54:30 christos Exp $ */
/* This file generated automatically using
* @Id: skel2c,v 1.4 2016/06/07 00:26:09 tom Exp @
*/
/* @Id: btyaccpar.skel,v 1.5 2016/12/02 22:02:28 tom Exp @ */
/* @Id: btyaccpar.skel,v 1.6 2017/04/30 23:40:34 tom Exp @ */
#include "defs.h"
@ -452,6 +452,23 @@ const char *const body_2[] =
" if (yydebug)",
" fprintf(stderr, \"%sdebug[<# of symbols on state stack>]\\n\", YYPREFIX);",
"#endif",
"#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)",
" memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));",
"#endif",
"",
0
};
const char *const init_vars[] =
{
" yyerrflag = 0;",
" yychar = 0;",
" memset(&yyval, 0, sizeof(yyval));",
" memset(&yylval, 0, sizeof(yylval));",
"#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)",
" memset(&yyloc, 0, sizeof(yyloc));",
" memset(&yylloc, 0, sizeof(yylloc));",
"#endif",
"",
0
};

View File

@ -1,4 +1,4 @@
/* Id: btyaccpar.skel,v 1.5 2016/12/02 22:02:28 tom Exp */
/* Id: btyaccpar.skel,v 1.7 2017/05/01 00:13:19 tom Exp */
#include "defs.h"
@ -385,6 +385,19 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
%% init_vars
yyerrflag = 0;
yychar = 0;
memset(&yyval, 0, sizeof(yyval));
memset(&yylval, 0, sizeof(yylval));
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(&yyloc, 0, sizeof(yyloc));
memset(&yylloc, 0, sizeof(yylloc));
#endif
%% body_3
%%ifdef YYBTYACC

View File

@ -2,7 +2,7 @@
# Attempt to guess a canonical system name.
# Copyright 1992-2017 Free Software Foundation, Inc.
timestamp='2017-01-01'
timestamp='2017-03-05'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -837,10 +837,11 @@ EOF
UNAME_PROCESSOR=`/usr/bin/uname -p`
case ${UNAME_PROCESSOR} in
amd64)
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
*)
echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
UNAME_PROCESSOR=x86_64 ;;
i386)
UNAME_PROCESSOR=i586 ;;
esac
echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit ;;
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin
@ -1343,6 +1344,9 @@ EOF
NSR-?:NONSTOP_KERNEL:*:*)
echo nsr-tandem-nsk${UNAME_RELEASE}
exit ;;
NSX-?:NONSTOP_KERNEL:*:*)
echo nsx-tandem-nsk${UNAME_RELEASE}
exit ;;
*:NonStop-UX:*:*)
echo mips-compaq-nonstopux
exit ;;

View File

@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2017 Free Software Foundation, Inc.
timestamp='2017-01-01'
timestamp='2017-02-07'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -948,6 +948,9 @@ case $basic_machine in
nsr-tandem)
basic_machine=nsr-tandem
;;
nsx-tandem)
basic_machine=nsx-tandem
;;
op50n-* | op60c-*)
basic_machine=hppa1.1-oki
os=-proelf

View File

@ -1,9 +1,9 @@
/* $NetBSD: defs.h,v 1.11 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: defs.h,v 1.12 2017/06/05 18:54:30 christos Exp $ */
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
/* Id: defs.h,v 1.56 2017/02/02 00:44:38 tom Exp */
/* Id: defs.h,v 1.57 2017/04/30 23:29:11 tom Exp */
#ifdef HAVE_CONFIG_H
#include <config.h>
@ -312,6 +312,7 @@ extern const char *const hdr_defs[];
extern const char *const hdr_vars[];
extern const char *const body_1[];
extern const char *const body_vars[];
extern const char *const init_vars[];
extern const char *const body_2[];
extern const char *const body_3[];
extern const char *const trailer[];

View File

@ -1,10 +1,10 @@
/* $NetBSD: main.c,v 1.13 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: main.c,v 1.14 2017/06/05 18:54:30 christos Exp $ */
#include "defs.h"
#include <sys/cdefs.h>
__RCSID("$NetBSD: main.c,v 1.13 2017/02/11 19:33:12 christos Exp $");
/* Id: main.c,v 1.59 2017/02/02 00:44:38 tom Exp */
__RCSID("$NetBSD: main.c,v 1.14 2017/06/05 18:54:30 christos Exp $");
/* Id: main.c,v 1.60 2017/04/30 20:57:56 Julien.Ramseier Exp */
#include <signal.h>
#ifndef _WIN32
@ -272,7 +272,7 @@ setflag(int ch)
#if defined(YYBTYACC)
locations = 1;
#else
unsupported_flag_warning("-B", "reconfigure with --enable-btyacc");
unsupported_flag_warning("-L", "reconfigure with --enable-btyacc");
#endif
break;

View File

@ -1,11 +1,11 @@
/* $NetBSD: output.c,v 1.17 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: output.c,v 1.18 2017/06/05 18:54:30 christos Exp $ */
/* Id: output.c,v 1.79 2016/12/02 20:42:38 tom Exp */
/* Id: output.c,v 1.81 2017/04/30 23:23:32 tom Exp */
#include "defs.h"
#include <sys/cdefs.h>
__RCSID("$NetBSD: output.c,v 1.17 2017/02/11 19:33:12 christos Exp $");
__RCSID("$NetBSD: output.c,v 1.18 2017/06/05 18:54:30 christos Exp $");
#define StaticOrR (rflag ? "" : "static ")
#define CountLine(fp) (!rflag || ((fp) == code_file))
@ -1590,6 +1590,19 @@ output_pure_parser(FILE * fp)
putc_code(fp, '\n');
}
#if defined(YY_NO_LEAKS)
static void
output_no_leaks(FILE * fp)
{
putc_code(fp, '\n');
if (fp == code_file)
++outline;
fputs("#define YY_NO_LEAKS 1\n", fp);
putc_code(fp, '\n');
}
#endif
static void
output_trailing_text(void)
{
@ -1991,6 +2004,9 @@ output(void)
output_prefix(fp);
output_pure_parser(fp);
#if defined(YY_NO_LEAKS)
output_no_leaks(fp);
#endif
output_stored_text(fp);
output_stype(fp);
#if defined(YYBTYACC)
@ -2074,6 +2090,10 @@ output(void)
write_section(code_file, body_vars);
}
write_section(code_file, body_2);
if (pure_parser)
{
write_section(code_file, init_vars);
}
#if defined(YYBTYACC)
if (initial_action)
output_initial_action();

View File

@ -1,4 +1,4 @@
/* $NetBSD: btyacc_calc1.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: btyacc_calc1.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -820,6 +820,18 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
yyerrflag = 0;
yychar = 0;
memset(&yyval, 0, sizeof(yyval));
memset(&yylval, 0, sizeof(yylval));
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(&yyloc, 0, sizeof(yyloc));
memset(&yylloc, 0, sizeof(yylloc));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1527,7 +1539,7 @@ case 28:
yyval.vval = yystack.l_mark[-1].vval;
}
break;
#line 1529 "btyacc_calc1.tab.c"
#line 1541 "btyacc_calc1.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: btyacc_demo.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: btyacc_demo.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -1332,6 +1332,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -2105,7 +2108,7 @@ case 59:
#line 197 "btyacc_demo.y"
{ yyval.code = yystack.l_mark[-1].code; }
break;
#line 2107 "btyacc_demo.tab.c"
#line 2110 "btyacc_demo.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: btyacc_destroy1.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: btyacc_destroy1.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -664,6 +664,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1227,7 +1230,7 @@ case 9:
#line 86 "btyacc_destroy1.y"
{ yyval.nlist = yystack.l_mark[-5].nlist; }
break;
#line 1229 "btyacc_destroy1.tab.c"
#line 1232 "btyacc_destroy1.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: btyacc_destroy2.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: btyacc_destroy2.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -664,6 +664,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1227,7 +1230,7 @@ case 9:
#line 86 "btyacc_destroy2.y"
{ yyval.nlist = yystack.l_mark[-5].nlist; }
break;
#line 1229 "btyacc_destroy2.tab.c"
#line 1232 "btyacc_destroy2.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: btyacc_destroy3.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: btyacc_destroy3.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -664,6 +664,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1227,7 +1230,7 @@ case 9:
#line 89 "btyacc_destroy3.y"
{ yyval.nlist = yystack.l_mark[-5].nlist; }
break;
#line 1229 "btyacc_destroy3.tab.c"
#line 1232 "btyacc_destroy3.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: calc.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: calc.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -659,6 +659,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1233,7 +1236,7 @@ case 18:
#line 63 "calc.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 1235 "calc.tab.c"
#line 1238 "calc.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: calc1.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: calc1.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -803,6 +803,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1480,7 +1483,7 @@ case 28:
yyval.vval = yystack.l_mark[-1].vval;
}
break;
#line 1482 "calc1.tab.c"
#line 1485 "calc1.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: calc2.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: calc2.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -672,6 +672,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1246,7 +1249,7 @@ case 18:
#line 70 "calc2.y"
{ yyval = (*base) * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 1248 "calc2.tab.c"
#line 1251 "calc2.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: calc3.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: calc3.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -677,6 +677,18 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
yyerrflag = 0;
yychar = 0;
memset(&yyval, 0, sizeof(yyval));
memset(&yylval, 0, sizeof(yylval));
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(&yyloc, 0, sizeof(yyloc));
memset(&yylloc, 0, sizeof(yylloc));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1251,7 +1263,7 @@ case 18:
#line 73 "calc3.y"
{ yyval = (*base) * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 1253 "calc3.tab.c"
#line 1265 "calc3.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: code_calc.code.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: code_calc.code.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -532,6 +532,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1106,7 +1109,7 @@ case 18:
#line 67 "code_calc.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 1108 "code_calc.code.c"
#line 1111 "code_calc.code.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: code_error.code.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: code_error.code.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -502,6 +502,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;

View File

@ -1,4 +1,4 @@
/* $NetBSD: empty.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: empty.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -521,6 +521,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;

View File

@ -1,4 +1,4 @@
/* $NetBSD: err_inherit3.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: err_inherit3.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -621,6 +621,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1191,7 +1194,7 @@ case 13:
#line 75 "err_inherit3.y"
{ yyval.nlist = yystack.l_mark[0].nlist; }
break;
#line 1193 "err_inherit3.tab.c"
#line 1196 "err_inherit3.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: err_inherit4.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: err_inherit4.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -619,6 +619,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1181,7 +1184,7 @@ case 11:
#line 77 "err_inherit4.y"
{ yyval.nlist = yystack.l_mark[0].nlist; yyloc = yystack.p_mark[1]; }
break;
#line 1183 "err_inherit4.tab.c"
#line 1186 "err_inherit4.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: err_syntax10.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: err_syntax10.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -520,6 +520,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;

View File

@ -1,4 +1,4 @@
/* $NetBSD: err_syntax11.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: err_syntax11.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -526,6 +526,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;

View File

@ -1,4 +1,4 @@
/* $NetBSD: err_syntax12.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: err_syntax12.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -532,6 +532,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;

View File

@ -1,4 +1,4 @@
/* $NetBSD: err_syntax18.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: err_syntax18.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -529,6 +529,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1047,7 +1050,7 @@ case 1:
#line 9 "err_syntax18.y"
{ yyval = yystack.l_mark[1]; }
break;
#line 1049 "err_syntax18.tab.c"
#line 1052 "err_syntax18.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: err_syntax20.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: err_syntax20.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -524,6 +524,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1042,7 +1045,7 @@ case 1:
#line 12 "err_syntax20.y"
{ yystack.l_mark[-1].rechk = 3; }
break;
#line 1044 "err_syntax20.tab.c"
#line 1047 "err_syntax20.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: error.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: error.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -525,6 +525,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;

View File

@ -1,4 +1,4 @@
/* $NetBSD: expr.oxout.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: expr.oxout.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -1945,6 +1945,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -2517,7 +2520,7 @@ case 10:
yyyGenIntNode(8,1,0,&yyval.yyyOxAttrbs,&yystack.l_mark[0].yyyOxAttrbs);
yyyAdjustINRC(8,1,0,0,&yyval.yyyOxAttrbs,&yystack.l_mark[0].yyyOxAttrbs);}}
break;
#line 2519 "expr.oxout.tab.c"
#line 2522 "expr.oxout.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: grammar.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: grammar.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -1498,6 +1498,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -2686,7 +2689,7 @@ case 114:
yyval.declarator->func_def = FUNC_ANSI;
}
break;
#line 2688 "grammar.tab.c"
#line 2691 "grammar.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: inherit0.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: inherit0.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -544,6 +544,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1102,7 +1105,7 @@ case 11:
#line 43 "inherit0.y"
{ yyval = yystack.l_mark[0]; }
break;
#line 1104 "inherit0.tab.c"
#line 1107 "inherit0.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: inherit1.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: inherit1.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -565,6 +565,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1127,7 +1130,7 @@ case 11:
#line 71 "inherit1.y"
{ yyval.nlist = yystack.l_mark[0].nlist; }
break;
#line 1129 "inherit1.tab.c"
#line 1132 "inherit1.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: inherit2.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: inherit2.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -620,6 +620,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1186,7 +1189,7 @@ case 12:
#line 75 "inherit2.y"
{ yyval.nlist = yystack.l_mark[0].nlist; }
break;
#line 1188 "inherit2.tab.c"
#line 1191 "inherit2.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: ok_syntax1.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: ok_syntax1.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -700,6 +700,18 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
yyerrflag = 0;
yychar = 0;
memset(&yyval, 0, sizeof(yyval));
memset(&yylval, 0, sizeof(yylval));
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(&yyloc, 0, sizeof(yyloc));
memset(&yylloc, 0, sizeof(yylloc));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1274,7 +1286,7 @@ case 18:
#line 101 "ok_syntax1.y"
{ yyval.ival = (*base) * yystack.l_mark[-1].ival + yystack.l_mark[0].ival; }
break;
#line 1276 "ok_syntax1.tab.c"
#line 1288 "ok_syntax1.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: pure_calc.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: pure_calc.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -673,6 +673,18 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
yyerrflag = 0;
yychar = 0;
memset(&yyval, 0, sizeof(yyval));
memset(&yylval, 0, sizeof(yylval));
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(&yyloc, 0, sizeof(yyloc));
memset(&yylloc, 0, sizeof(yylloc));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1247,7 +1259,7 @@ case 18:
#line 69 "pure_calc.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 1249 "pure_calc.tab.c"
#line 1261 "pure_calc.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: pure_error.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: pure_error.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -541,6 +541,18 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
yyerrflag = 0;
yychar = 0;
memset(&yyval, 0, sizeof(yyval));
memset(&yylval, 0, sizeof(yylval));
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(&yyloc, 0, sizeof(yyloc));
memset(&yylloc, 0, sizeof(yylloc));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;

View File

@ -1,4 +1,4 @@
/* $NetBSD: quote_calc-s.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: quote_calc-s.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -677,6 +677,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1251,7 +1254,7 @@ case 18:
#line 70 "quote_calc.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 1253 "quote_calc-s.tab.c"
#line 1256 "quote_calc-s.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: quote_calc.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: quote_calc.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -683,6 +683,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1257,7 +1260,7 @@ case 18:
#line 70 "quote_calc.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 1259 "quote_calc.tab.c"
#line 1262 "quote_calc.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: quote_calc2-s.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: quote_calc2-s.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -677,6 +677,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1251,7 +1254,7 @@ case 18:
#line 70 "quote_calc2.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 1253 "quote_calc2-s.tab.c"
#line 1256 "quote_calc2-s.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: quote_calc2.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: quote_calc2.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -683,6 +683,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1257,7 +1260,7 @@ case 18:
#line 70 "quote_calc2.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 1259 "quote_calc2.tab.c"
#line 1262 "quote_calc2.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: quote_calc3-s.tab.c,v 1.2 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: quote_calc3-s.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -678,6 +678,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1252,7 +1255,7 @@ case 18:
#line 70 "quote_calc3.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 1254 "quote_calc3-s.tab.c"
#line 1257 "quote_calc3-s.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: quote_calc3.tab.c,v 1.2 2017/02/11 19:33:13 christos Exp $ */
/* $NetBSD: quote_calc3.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -678,6 +678,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1252,7 +1255,7 @@ case 18:
#line 70 "quote_calc3.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 1254 "quote_calc3.tab.c"
#line 1257 "quote_calc3.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: quote_calc4-s.tab.c,v 1.2 2017/02/11 19:33:13 christos Exp $ */
/* $NetBSD: quote_calc4-s.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -678,6 +678,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1252,7 +1255,7 @@ case 18:
#line 70 "quote_calc4.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 1254 "quote_calc4-s.tab.c"
#line 1257 "quote_calc4-s.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: quote_calc4.tab.c,v 1.2 2017/02/11 19:33:13 christos Exp $ */
/* $NetBSD: quote_calc4.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -678,6 +678,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1252,7 +1255,7 @@ case 18:
#line 70 "quote_calc4.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 1254 "quote_calc4.tab.c"
#line 1257 "quote_calc4.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: rename_debug.c,v 1.2 2017/02/11 19:33:13 christos Exp $ */
/* $NetBSD: rename_debug.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -388,6 +388,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;

View File

@ -1,4 +1,4 @@
/* $NetBSD: varsyntax_calc1.tab.c,v 1.2 2017/02/11 19:33:13 christos Exp $ */
/* $NetBSD: varsyntax_calc1.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -804,6 +804,9 @@ YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));
#endif
#if YYBTYACC
yyps = yyNewState(0); if (yyps == 0) goto yyenomem;
@ -1481,7 +1484,7 @@ case 28:
yyval.vval = yystack.l_mark[-1].vval;
}
break;
#line 1483 "varsyntax_calc1.tab.c"
#line 1486 "varsyntax_calc1.tab.c"
default:
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: calc3.tab.c,v 1.2 2017/02/11 19:33:13 christos Exp $ */
/* $NetBSD: calc3.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -445,6 +445,9 @@ YYPARSE_DECL()
}
#endif
memset(&yyval, 0, sizeof(yyval));
memset(&yylval, 0, sizeof(yylval));
yym = 0;
yyn = 0;
yynerrs = 0;
@ -629,7 +632,7 @@ case 18:
#line 73 "calc3.y"
{ yyval = (*base) * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 631 "calc3.tab.c"
#line 634 "calc3.tab.c"
}
yystack.s_mark -= yym;
yystate = *yystack.s_mark;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ok_syntax1.tab.c,v 1.2 2017/02/11 19:33:13 christos Exp $ */
/* $NetBSD: ok_syntax1.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -469,6 +469,9 @@ YYPARSE_DECL()
}
#endif
memset(&yyval, 0, sizeof(yyval));
memset(&yylval, 0, sizeof(yylval));
yym = 0;
yyn = 0;
yynerrs = 0;
@ -653,7 +656,7 @@ case 18:
#line 101 "ok_syntax1.y"
{ yyval.ival = (*base) * yystack.l_mark[-1].ival + yystack.l_mark[0].ival; }
break;
#line 655 "ok_syntax1.tab.c"
#line 658 "ok_syntax1.tab.c"
}
yystack.s_mark -= yym;
yystate = *yystack.s_mark;

View File

@ -1,4 +1,4 @@
/* $NetBSD: pure_calc.tab.c,v 1.2 2017/02/11 19:33:13 christos Exp $ */
/* $NetBSD: pure_calc.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -441,6 +441,9 @@ YYPARSE_DECL()
}
#endif
memset(&yyval, 0, sizeof(yyval));
memset(&yylval, 0, sizeof(yylval));
yym = 0;
yyn = 0;
yynerrs = 0;
@ -625,7 +628,7 @@ case 18:
#line 69 "pure_calc.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
#line 627 "pure_calc.tab.c"
#line 630 "pure_calc.tab.c"
}
yystack.s_mark -= yym;
yystate = *yystack.s_mark;

View File

@ -1,4 +1,4 @@
/* $NetBSD: pure_error.tab.c,v 1.2 2017/02/11 19:33:13 christos Exp $ */
/* $NetBSD: pure_error.tab.c,v 1.3 2017/06/05 18:54:30 christos Exp $ */
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
@ -338,6 +338,9 @@ YYPARSE_DECL()
}
#endif
memset(&yyval, 0, sizeof(yyval));
memset(&yylval, 0, sizeof(yylval));
yym = 0;
yyn = 0;
yynerrs = 0;

View File

@ -1,10 +1,10 @@
/* $NetBSD: yaccpar.c,v 1.4 2017/02/11 19:33:12 christos Exp $ */
/* $NetBSD: yaccpar.c,v 1.5 2017/06/05 18:54:30 christos Exp $ */
/* This file generated automatically using
* @Id: skel2c,v 1.4 2016/06/07 00:26:09 tom Exp @
*/
/* @Id: yaccpar.skel,v 1.7 2016/06/06 23:35:55 Tom.Shields Exp @ */
/* @Id: yaccpar.skel,v 1.8 2016/12/02 21:44:42 tom Exp @ */
#include "defs.h"
@ -216,6 +216,14 @@ const char *const body_2[] =
0
};
const char *const init_vars[] =
{
" memset(&yyval, 0, sizeof(yyval));",
" memset(&yylval, 0, sizeof(yylval));",
"",
0
};
const char *const body_3[] =
{
" yym = 0;",