summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2021-01-16 17:28:31 +0100
committerAkim Demaille <akim.demaille@gmail.com>2021-01-16 17:30:17 +0100
commit4fd2e5c22a59bd330371e8dcb858d26b47598a9d (patch)
treeaa067c87fa0c6309fdae3b6e9462fc4038ebd75b /examples
parent7e0b792d12ce557e9c07a1699d344922eefc3e68 (diff)
downloadbison-4fd2e5c22a59bd330371e8dcb858d26b47598a9d.tar.gz
package: fixes
* examples/c++/glr/local.mk, examples/c/glr/local.mk (CLEANFILES): Complete to fix distcheck. * src/output.c (merger_output): Obfuscate to pacify syntax-check's sc_space_before_open_paren.
Diffstat (limited to 'examples')
-rw-r--r--examples/c++/glr/local.mk7
-rw-r--r--examples/c/glr/local.mk2
2 files changed, 6 insertions, 3 deletions
diff --git a/examples/c++/glr/local.mk b/examples/c++/glr/local.mk
index c3faa7b7..3ac0b14b 100644
--- a/examples/c++/glr/local.mk
+++ b/examples/c++/glr/local.mk
@@ -23,8 +23,11 @@ glrxxdir = $(docdir)/%D%
$(nodist_%C%_c___types_SOURCES): %D%/c++-types.stamp
@test -f $@ || rm -f %D%/c++-types.stamp
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) %D%/c++-types.stamp
-CLEANFILES += \
- $(nodist_%C%_c___types_SOURCES) %D%/c++-types.stamp
+CLEANFILES += \
+ $(nodist_%C%_c___types_SOURCES) \
+ %D%/c++-types.stamp \
+ %D%/c++-types.output \
+ %D%/location.hh
CLEANDIRS += %D%/*.dSYM
## -------------------- ##
diff --git a/examples/c/glr/local.mk b/examples/c/glr/local.mk
index c6822343..f5032a63 100644
--- a/examples/c/glr/local.mk
+++ b/examples/c/glr/local.mk
@@ -30,5 +30,5 @@ nodist_%C%_c___types_SOURCES = %D%/c++-types.y
%C%_c___types_CFLAGS = $(TEST_CFLAGS)
dist_glr_DATA = %D%/c++-types.y %D%/Makefile %D%/README.md
-CLEANFILES += %D%/c++-types.c %D%/c++-types.output
+CLEANFILES += %D%/c++-types.[ch] %D%/c++-types.output
CLEANDIRS += %D%/*.dSYM