CVSROOT:        /cvsroot/groff
Module name:    groff
Changes by:     Werner LEMBERG <wl>     06/06/05 16:17:03

Modified files:
        contrib/hdtbl  : ChangeLog hdmisc.tmac 

Log message:
        * hdmisc.tmac (index): Use `\?' to emulate string comparison.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/hdtbl/ChangeLog?cvsroot=groff&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/hdtbl/hdmisc.tmac?cvsroot=groff&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/contrib/hdtbl/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- ChangeLog   4 Jun 2006 11:02:11 -0000       1.10
+++ ChangeLog   5 Jun 2006 16:17:03 -0000       1.11
@@ -1,3 +1,7 @@
+2006-06-05  Werner LEMBERG  <[EMAIL PROTECTED]>
+
+       * hdmisc.tmac (index): Use `\?' to emulate string comparison.
+
 2006-06-04  Werner LEMBERG  <[EMAIL PROTECTED]>
 
        * hdbtl.tmac: Improve error messages.  In particular, handle

Index: hdmisc.tmac
===================================================================
RCS file: /cvsroot/groff/groff/contrib/hdtbl/hdmisc.tmac,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- hdmisc.tmac 20 May 2006 09:20:44 -0000      1.1
+++ hdmisc.tmac 5 Jun 2006 16:17:03 -0000       1.2
@@ -141,7 +141,8 @@
 .  while (\\n+[*] < \\n[**]) \{\
 .    ds * \\$1\"
 .    substring * \\n[*] (\\n[*] + \\n[$2] - 1)
-.    if "\\*[*]"\\$2" \
+.    \" The surrounding \? escapes emulate string comparison.
+.    if "\?\\*[*]\?"\?\\$2\?" \
 .      break
 .  \}
 .


_______________________________________________
Groff-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to