[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
b4_cat portability and some nits
From: |
Joel E. Denny |
Subject: |
b4_cat portability and some nits |
Date: |
Fri, 9 Nov 2007 20:37:01 -0500 (EST) |
I committed this.
Index: ChangeLog
===================================================================
RCS file: /sources/bison/bison/ChangeLog,v
retrieving revision 1.1753
diff -p -u -r1.1753 ChangeLog
--- ChangeLog 8 Nov 2007 09:08:45 -0000 1.1753
+++ ChangeLog 10 Nov 2007 01:32:11 -0000
@@ -1,3 +1,11 @@
+2007-11-09 Joel E. Denny <address@hidden>
+
+ * data/bison.m4 (b4_cat): Put a newline after the end delimiter of the
+ here document and before the EOF so that BSD's implementation of Bourne
+ shell doesn't parse the delimiter as part of the here document.
+ * doc/.cvsignore: Add cross-options.texi.
+ * src/getargs.c (usage): Add a blank line after the warning categories.
+
2007-11-08 Paolo Bonzini <address@hidden>
* data/lalr1.java (Lexer): Remove usage of b4_pure_if.
Index: data/bison.m4
===================================================================
RCS file: /sources/bison/bison/data/bison.m4,v
retrieving revision 1.24
diff -p -u -r1.24 bison.m4
--- data/bison.m4 29 Oct 2007 17:36:38 -0000 1.24
+++ data/bison.m4 10 Nov 2007 01:32:11 -0000
@@ -74,7 +74,8 @@ version 2.2 of Bison.])])
m4_define([b4_cat],
[m4_syscmd([cat <<'_m4eof'
]m4_bpatsubst(m4_dquote($1), [_m4eof], address@hidden)[@
-_m4eof])dnl
+_m4eof
+])dnl
m4_if(m4_sysval, [0], [], [m4_fatal([$0: cannot write to stdout])])])
# b4_error(KIND, FORMAT, [ARG1], [ARG2], ...)
Index: doc/.cvsignore
===================================================================
RCS file: /sources/bison/bison/doc/.cvsignore,v
retrieving revision 1.9
diff -p -u -r1.9 .cvsignore
--- doc/.cvsignore 19 Sep 2005 21:04:40 -0000 1.9
+++ doc/.cvsignore 10 Nov 2007 01:32:11 -0000
@@ -20,3 +20,4 @@ Makefile.in
*.info*
stamp-vti
version.texi
+cross-options.texi
Index: src/getargs.c
===================================================================
RCS file: /sources/bison/bison/src/getargs.c,v
retrieving revision 1.100
diff -p -u -r1.100 getargs.c
--- src/getargs.c 4 Nov 2007 20:45:32 -0000 1.100
+++ src/getargs.c 10 Nov 2007 01:32:11 -0000
@@ -298,6 +298,7 @@ Warning categories include:\n\
`no-CATEGORY' turn off warnings in CATEGORY\n\
`none' turn off all the warnings\n\
`error' treat warnings as errors\n\
+\n\
"), stdout);
fputs (_("\
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- b4_cat portability and some nits,
Joel E. Denny <=