bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

maint: build: fix syntax-check issues


From: Akim Demaille
Subject: maint: build: fix syntax-check issues
Date: Sat, 4 Apr 2020 08:11:14 +0200

commit cb40f5c6244050bc25152bd9949c7b4744dc4523
Author: Akim Demaille <address@hidden>
Date:   Sat Apr 4 07:31:06 2020 +0200

    build: fix syntax-check issues
    
    * src/system.h, tests/local.mk: Fix indentation.

diff --git a/src/system.h b/src/system.h
index 6073048f..606d3c46 100644
--- a/src/system.h
+++ b/src/system.h
@@ -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\"")
diff --git a/tests/local.mk b/tests/local.mk
index b7e7cc59..fac8426f 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]