Subject: CVS commit: pkgsrc/devel/byacc
From: Frederic Cambus
Date: 2021-08-03 14:19:29
Message id: 20210803121929.3C8D3FA97@cvs.NetBSD.org

Log Message:
byacc: update to 20210802.

2021-08-02  Thomas E. Dickey  <dickey@invisible-island.net>

	* main.c, yacc.1: add "-h" option

	* main.c:
	map any of bison's long-options which have a corresponding yacc option
	into the latter, without depending upon getopt_long().

	* main.c: suggested patch:
	From: Boris Kolpackov <boris@codesynthesis.com>
	Subject: Re: [PATCH] support bison's --defines and --output options in
	byacc

2021-08-01  Thomas E. Dickey  <dickey@invisible-island.net>

	* output.c:
	fix a misplaced #line, which was after a generated line in the code-file

	* output.c:
	add a state-machine to output_semantic_actions() to detect and replace
	the "#line" directives added by Roland Illig's change, making them show
	the actual line-numbers in the code-file.

	* reader.c:
	adapt a patch by Roland Illig which added #line directives with dummy
	filename and line number, because the debug information was incorrect.
	The actual fix (see output_semantic_actions) is to emit #line directives
	which correspond to the code-file.

	* reader.c: simplify an ifdef so I can balance {/}

	* output.c: use new macro

	* defs.h: add fprintf_lineno macro

	* reader.c:
	make that a little simpler - but I see that this should be using the
	code-file's line-numbering rather than ""

	* reader.c:
	make that into a macro, and add a begin_case() to more/less match (the
	#line's are not together in some btyacc cases...)

2021-07-14  Thomas E. Dickey  <dickey@invisible-island.net>

	* reader.c: From: Roland Illig <roland.illig@gmx.de>
	Subject: small patch for byacc
	...
	this splits up "\nbreak;\n" output to put #line directives after
	first "\n"

2021-07-03  Thomas E. Dickey  <dickey@invisible-island.net>

	* config.sub: 2021-07-03
	    From: Ozkan Sezer <sezero@users.sourceforge.net>
	    config.sub: disable shellcheck SC2006 / SC2268 warnings

	    This is in line with the recent config.guess change in commit
	    12fcf67c9108f4c4b581eaa302088782f0ee40ea

	    * config.sub (shellcheck disable): Add SC2006,SC2268.

	    Suggested-by: Jacob Bachmeyer <jcb@gnu.org>
	    Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net>
	    Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>

	* config.sub: 2021-07-03
	    From: Ozkan Sezer <sezero@users.sourceforge.net>
	    config.sub: normalize the quoting in the `echo FOO | sed ...`

	    Some cases quote the argument to echo and some do not.  At runtime
	    it probably does not matter because the substituted values will never
	    contain whitespace, but quoting them all would make shellcheck more
	    useful.

	    * config.sub: Consistently quote the argument of echo.
	    * doc/config.sub.1: Regenerate.

	    Suggested-by: Jacob Bachmeyer <jcb@gnu.org>
	    Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net>
	    Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>

2021-07-02  Thomas E. Dickey  <dickey@invisible-island.net>

	* config.sub: 2021-06-03
	    From: Ozkan Sezer <sezero@users.sourceforge.net>
	    config.sub: replace POSIX $( ) with classic ` ` throughout

	    This is in line with the recent config.guess change in commit
	    d70c4fa934de164178054c3a60aaa0024ed07c91.

	    The patch was generated using patch-6.gawk script introduced in that
	    commit.

	    * config.sub: Revert POSIX command substitutions to classic form.

	    Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net>
	    Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>

Files:
RevisionActionfile
1.22modifypkgsrc/devel/byacc/Makefile
1.15modifypkgsrc/devel/byacc/distinfo