summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwl <wl>2009-04-07 06:02:52 +0000
committerwl <wl>2009-04-07 06:02:52 +0000
commit3cfd0f2fc12bdff5fd0b587fa98a655805eff75b (patch)
tree0c00450c44c0dbd00487a5edc08ba72de97cd826
parentdc446db04e9de0d4cbeb64b73d6ad5aa3b957373 (diff)
downloadgroff-3cfd0f2fc12bdff5fd0b587fa98a655805eff75b.tar.gz
Make multiple automatically cached tables work.
* hdtbl.tmac (ETB, t*free): Correct two typos, fixing register incrementation.
-rw-r--r--contrib/hdtbl/ChangeLog5
-rw-r--r--contrib/hdtbl/hdtbl.tmac4
2 files changed, 7 insertions, 2 deletions
diff --git a/contrib/hdtbl/ChangeLog b/contrib/hdtbl/ChangeLog
index 1980b86f..5323d504 100644
--- a/contrib/hdtbl/ChangeLog
+++ b/contrib/hdtbl/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-05 Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>
+
+ * hdtbl.tmac (ETB, t*free): Correct two typos, fixing register
+ incrementation.
+
2009-01-04 Werner LEMBERG <wl@gnu.org>
* Makefile.sub (CLEANADD): Add hdmisc.tmac-s and hdtbl.tmac-s.
diff --git a/contrib/hdtbl/hdtbl.tmac b/contrib/hdtbl/hdtbl.tmac
index 5182ba6a..9b0f2066 100644
--- a/contrib/hdtbl/hdtbl.tmac
+++ b/contrib/hdtbl/hdtbl.tmac
@@ -476,7 +476,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
. ie (\\n[.t] - \\n[dn]) \
. DI t*tbl0
. el \{\
-. rn t*tbl0 t*tbl\\n[t*numb]
+. rn t*tbl0 t*tbl\\n+[t*numb]
. ds t*kept \\*[t*kept] t*tbl\\n[t*numb] \\n[dn]\"
. \}
. \}
@@ -519,7 +519,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
. return
. \}
.
-. nr ** (\\$1 >? 1)
+. nr ** (\\$1 >? 1) 1
. while !""\\*[t*held]" \{\
. pops * t*held
. popr * t*held