* tests/Makefile.am (maintainer-check-posix): New.
authorAkim Demaille <akim@epita.fr>
Mon, 14 Oct 2002 15:09:15 +0000 (15:09 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 14 Oct 2002 15:09:15 +0000 (15:09 +0000)
ChangeLog
TODO
tests/Makefile.am

index ac000da..2f8ce35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2002-10-14  Akim Demaille  <akim@epita.fr>
 
+       * tests/Makefile.am (maintainer-check-posix): New.
+
+2002-10-14  Akim Demaille  <akim@epita.fr>
+
        * data/glr.c [YYDEBUG] (YYLEFTMOST_STATE): Initialize the yyloc
        member.
 
diff --git a/TODO b/TODO
index d4d2ce2..599626f 100644 (file)
--- a/TODO
+++ b/TODO
@@ -33,6 +33,10 @@ check if %union is used, since the user is free to $<foo>n on her
 union, doesn't she?
 
 
+* GLR & C++
+Currently, the GLR parser cannot compile with a C++ compiler.
+
+
 * Report
 
 **  GLR
index d41846a..85c6e91 100644 (file)
@@ -73,6 +73,18 @@ installcheck-local:
        $(SHELL) $(TESTSUITE) AUTOTEST_PATH=$(exec_prefix)/bin
 
 # Be real mean with it.
+.PHONY: maintainer-check-g++
+maintainer-check-g++: $(TESTSUITE)
+       if test -n "$(VALGRIND)"; then          \
+          $(TESTSUITE) CC='$(GXX)';            \
+       else                                    \
+         true;                                 \
+       fi
+
+.PHONY: maintainer-check-posix
+maintainer-check-posix: $(TESTSUITE)
+       $(TESTSUITE) POSIXLY_CORRECT=1
+
 .PHONY: maintainer-check-valgrind
 maintainer-check-valgrind: $(TESTSUITE)
        if test -n "$(VALGRIND)"; then                                      \
@@ -81,13 +93,5 @@ maintainer-check-valgrind: $(TESTSUITE)
          true;                                                             \
        fi
 
-.PHONY: maintainer-check-g++
-maintainer-check-g++: $(TESTSUITE)
-       if test -n "$(VALGRIND)"; then          \
-          $(TESTSUITE) CC='$(GXX)'             \
-       else                                    \
-         true;                                 \
-       fi
-
 .PHONY: maintainer-check
-maintainer-check: maintainer-check-valgrind maintainer-check-g++
+maintainer-check: maintainer-check-posix maintainer-check-valgrind maintainer-check-g++