mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 01:03:04 +00:00
Don't impose std::string for filenames.
* data/lalr1.cc (b4_filename_type): New. (position::filename): Use it. (parser.hh): Move the inclusion of stack.hh and location.hh below the user code, so that needed headers for the filename type can be included first. Forward declare them before the user code. * tests/Makefile.am (check-local, installcheck-local): Pass TESTSUITEFLAGS to the TESTSUITE.
This commit is contained in:
@@ -125,6 +125,12 @@ b4_copyright([C++ Skeleton parser for LALR(1) parsing with Bison],
|
|||||||
/* Using locations. */
|
/* Using locations. */
|
||||||
#define YYLSP_NEEDED ]b4_locations_flag[
|
#define YYLSP_NEEDED ]b4_locations_flag[
|
||||||
|
|
||||||
|
namespace yy
|
||||||
|
{
|
||||||
|
class position;
|
||||||
|
class location;
|
||||||
|
}
|
||||||
|
|
||||||
]b4_token_defines(b4_tokens)[
|
]b4_token_defines(b4_tokens)[
|
||||||
|
|
||||||
/* Copy the first part of user declarations. */
|
/* Copy the first part of user declarations. */
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
## Process this file with automake to create Makefile.in.
|
## Process this file with automake to create Makefile.in.
|
||||||
|
|
||||||
## Makefile for Bison testsuite.
|
## Makefile for Bison testsuite.
|
||||||
## Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
## Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||||
|
|
||||||
## This program is free software; you can redistribute it and/or modify
|
## This program is free software; you can redistribute it and/or modify
|
||||||
## it under the terms of the GNU General Public License as published by
|
## it under the terms of the GNU General Public License as published by
|
||||||
@@ -65,13 +65,13 @@ clean-local:
|
|||||||
test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
|
test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
|
||||||
|
|
||||||
check-local: atconfig atlocal $(TESTSUITE)
|
check-local: atconfig atlocal $(TESTSUITE)
|
||||||
$(SHELL) $(TESTSUITE)
|
$(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS)
|
||||||
|
|
||||||
check_SCRIPTS = bison
|
check_SCRIPTS = bison
|
||||||
|
|
||||||
# Run the test suite on the *installed* tree.
|
# Run the test suite on the *installed* tree.
|
||||||
installcheck-local:
|
installcheck-local:
|
||||||
$(SHELL) $(TESTSUITE) AUTOTEST_PATH=$(exec_prefix)/bin
|
$(SHELL) $(TESTSUITE) AUTOTEST_PATH="$(bindir)" $(TESTSUITEFLAGS)
|
||||||
|
|
||||||
# Be real mean with it.
|
# Be real mean with it.
|
||||||
.PHONY: maintainer-check-g++
|
.PHONY: maintainer-check-g++
|
||||||
|
|||||||
Reference in New Issue
Block a user