mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
build: fix syntax-check issues
* src/system.h, tests/local.mk: Fix indentation.
This commit is contained in:
@@ -74,13 +74,13 @@ typedef size_t uintptr_t;
|
||||
# include <xalloc.h>
|
||||
|
||||
// Clang and ICC like to pretend they are GCC.
|
||||
#if defined __GNUC__ && !defined __clang__ && !defined __ICC
|
||||
# define GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
|
||||
#endif
|
||||
# if defined __GNUC__ && !defined __clang__ && !defined __ICC
|
||||
# define GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
|
||||
# endif
|
||||
|
||||
// See https://lists.gnu.org/archive/html/bug-bison/2019-10/msg00061.html
|
||||
// and https://trac.macports.org/ticket/59927.
|
||||
#if defined GCC_VERSION && 405 <= GCC_VERSION
|
||||
# if defined GCC_VERSION && 405 <= GCC_VERSION
|
||||
# define IGNORE_TYPE_LIMITS_BEGIN \
|
||||
_Pragma ("GCC diagnostic push") \
|
||||
_Pragma ("GCC diagnostic ignored \"-Wtype-limits\"")
|
||||
|
||||
@@ -99,7 +99,7 @@ recheck: $(RUN_TESTSUITE_deps)
|
||||
$(RUN_TESTSUITE) \
|
||||
$$(perl -n \
|
||||
-e 'eof && /^(\d+).*: FAILED/ && print "$$1 "' \
|
||||
%D%/testsuite.dir/*/testsuite.log)
|
||||
%D%/testsuite.dir/*/testsuite.log)
|
||||
|
||||
check-local: $(RUN_TESTSUITE_deps)
|
||||
$(RUN_TESTSUITE)
|
||||
|
||||
Reference in New Issue
Block a user