projects
/
bison.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pass the token type to yysyntax_error.
[bison.git]
/
djgpp
/
config.sed
diff --git
a/djgpp/config.sed
b/djgpp/config.sed
index a30102da7c3204f6dbec4d688918df0547f433c1..86050e432f4264c2a6ab15ef23b289e8ec828a34 100644
(file)
--- a/
djgpp/config.sed
+++ b/
djgpp/config.sed
@@
-1,6
+1,6
@@
# DJGPP specific configuration file.
# Sed script for additional DJGPP specific editing
# DJGPP specific configuration file.
# Sed script for additional DJGPP specific editing
-# of the configure script generated by autoconf 2.6
1
.
+# of the configure script generated by autoconf 2.6
2
.
# Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
@@
-20,7
+20,11
@@
# Additional editing of Makefiles
# Additional editing of Makefiles
-/^".*ac_file_inputs.*tmp\/out$/ a\
+/^eval sed.*ac_file_inputs.*tmp\/out \\$/ {
+:loop
+n
+/^$/!b loop
+a\
cat > "$tmp/subs-djgpp.sed" << eof_djgpp\
# DJGPP specific Makefile changes.\
s,\\.deps,_deps,g\
cat > "$tmp/subs-djgpp.sed" << eof_djgpp\
# DJGPP specific Makefile changes.\
s,\\.deps,_deps,g\
@@
-62,7
+66,7
@@
yacc.bat:\\\\\
eof_djgpp\
sed -f "\$tmp/subs-djgpp.sed" \$tmp/out > \$tmp/out.djgpp\
mv -f \$tmp/out.djgpp \$tmp/out
eof_djgpp\
sed -f "\$tmp/subs-djgpp.sed" \$tmp/out > \$tmp/out.djgpp\
mv -f \$tmp/out.djgpp \$tmp/out
-
+}
# Makefile.in.in is renamed to Makefile.in-in.
/ac_config_files=/ {
# Makefile.in.in is renamed to Makefile.in-in.
/ac_config_files=/ {
@@
-179,3
+183,9
@@
G
# The following is not a valid DOS file name
s/calc++/calcxx/g
# The following is not a valid DOS file name
s/calc++/calcxx/g
+
+# The CR test for awk does not work for DJGPP.
+/^ac_cs_awk_cr=/,/^$/ {
+ /^fi$/ a\
+ac_cs_awk_cr=$ac_cr
+}