aboutsummaryrefslogtreecommitdiff
path: root/gcc/treelang
diff options
context:
space:
mode:
authorTim Josling <tej@melbpc.org.au>2002-05-18 23:29:36 +0000
committerTim Josling <timjosling@gcc.gnu.org>2002-05-18 23:29:36 +0000
commitd63e8c485766fb644be59deed6a5dc9172b9d461 (patch)
treea66311b83c245e537025b980d8d459077ffb6af3 /gcc/treelang
parent5f90a099ed6c08f73f493d5d6df86f5ac45a4cfd (diff)
downloadgcc-d63e8c485766fb644be59deed6a5dc9172b9d461.zip
gcc-d63e8c485766fb644be59deed6a5dc9172b9d461.tar.gz
gcc-d63e8c485766fb644be59deed6a5dc9172b9d461.tar.bz2
.info build fix, add flag needed by c-common.c
From-SVN: r53599
Diffstat (limited to 'gcc/treelang')
-rw-r--r--gcc/treelang/.cvsignore1
-rw-r--r--gcc/treelang/ChangeLog10
-rw-r--r--gcc/treelang/Make-lang.in6
-rw-r--r--gcc/treelang/treetree.c2
4 files changed, 17 insertions, 2 deletions
diff --git a/gcc/treelang/.cvsignore b/gcc/treelang/.cvsignore
index 285791c..6e2fad7 100644
--- a/gcc/treelang/.cvsignore
+++ b/gcc/treelang/.cvsignore
@@ -2,3 +2,4 @@ lex.c
parse.c
parse.h
parse.output
+*.info*
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog
index c58c44c..a91b9d7 100644
--- a/gcc/treelang/ChangeLog
+++ b/gcc/treelang/ChangeLog
@@ -1,3 +1,13 @@
+2002-05-19 Tim Josling <tej@melbpc.org.au>
+
+ * treetree.c (warn_format_zero_length): Add.
+
+2002-05-14 Tim Josling <tej@melbpc.org.au>
+
+ * Make-lang.in: Fix build for .info files, add target for manpages.
+ A bug report and a suggested patch came from Magnus Fromreide
+ <magfr@lysator.liu.se>.
+
2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
diff --git a/gcc/treelang/Make-lang.in b/gcc/treelang/Make-lang.in
index 8fdb6d9..e77636a 100644
--- a/gcc/treelang/Make-lang.in
+++ b/gcc/treelang/Make-lang.in
@@ -128,8 +128,8 @@ treelang.rest.encap:
treelang.info: $(srcdir)/treelang/treelang.info
$(srcdir)/treelang/treelang.info: $(srcdir)/treelang/treelang.texi
- cd $(srcdir)/treelang && $(MAKEINFO) $(MAKEINFOFLAGS) -I../doc/include \
- -o $(srcdir)/treelang/treelang.info $(srcdir)/treelang/treelang.texi
+ cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -Idoc/include \
+ -o treelang/treelang.info treelang/treelang.texi
treelang.dvi: $(srcdir)/treelang/treelang.texi
TEXINPUTS=$(srcdir)/treelang:$(srcdir):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/treelang/treelang.texi; \
@@ -137,6 +137,8 @@ treelang.dvi: $(srcdir)/treelang/treelang.texi
TEXINPUTS=$(srcdir)/treelang:$(srcdir):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/treelang/treelang.texi; \
mv treelang.dvi treelang;
+treelang.generated-manpages:
+
#
# Install hooks:
diff --git a/gcc/treelang/treetree.c b/gcc/treelang/treetree.c
index 0304915..fddd772 100644
--- a/gcc/treelang/treetree.c
+++ b/gcc/treelang/treetree.c
@@ -98,6 +98,8 @@ int warn_format_y2k = 0;
int warn_format_extra_args = 0;
int warn_format_nonliteral = 0;
int warn_format_security = 0;
+int warn_format_zero_length = 0;
+
/* The front end language hooks (addresses of code for this front
end). Mostly just use the C routines. */