summaryrefslogtreecommitdiff
path: root/contrib/hdtbl/hdtbl.tmac
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 /contrib/hdtbl/hdtbl.tmac
parentdc446db04e9de0d4cbeb64b73d6ad5aa3b957373 (diff)
downloadgroff-3cfd0f2fc12bdff5fd0b587fa98a655805eff75b.tar.gz
Make multiple automatically cached tables work.
* hdtbl.tmac (ETB, t*free): Correct two typos, fixing register incrementation.
Diffstat (limited to 'contrib/hdtbl/hdtbl.tmac')
-rw-r--r--contrib/hdtbl/hdtbl.tmac4
1 files changed, 2 insertions, 2 deletions
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