source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: kristaps@mdocml.bsd.lv
To: source@mdocml.bsd.lv
Subject: mdocml: Notes: this must be done later.
Date: Mon, 28 Jun 2010 10:39:18 -0400 (EDT)	[thread overview]
Message-ID: <201006281439.o5SEdIOW016748@krisdoz.my.domain> (raw)

Log Message:
-----------
Notes: this must be done later.  \b in the input will cause havoc.

Modified Files:
--------------
    mdocml:
        mdoc_validate.c
        man_validate.c

Revision Data
-------------
Index: mdoc_validate.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_validate.c,v
retrieving revision 1.101
retrieving revision 1.102
diff -Lmdoc_validate.c -Lmdoc_validate.c -u -p -r1.101 -r1.102
--- mdoc_validate.c
+++ mdoc_validate.c
@@ -458,6 +458,11 @@ check_text(struct mdoc *mdoc, int line, 
 {
 	int		 c;
 
+	/* 
+	 * FIXME: we absolutely cannot let \b get through or it will
+	 * destroy some assumptions in terms of format.
+	 */
+
 	for ( ; *p; p++, pos++) {
 		if ('\t' == *p) {
 			if ( ! (MDOC_LITERAL & mdoc->flags))
Index: man_validate.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/man_validate.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -Lman_validate.c -Lman_validate.c -u -p -r1.44 -r1.45
--- man_validate.c
+++ man_validate.c
@@ -223,6 +223,11 @@ check_text(CHKARGS) 
 				return(c);
 		}
 
+		/* 
+		 * FIXME: we absolutely cannot let \b get through or it
+		 * will destroy some assumptions in terms of format.
+	 	 */
+
 		if ('\t' == *p || isprint((u_char)*p) || ASCII_HYPH == *p) 
 			continue;
 		if ( ! man_pmsg(m, n->line, pos, MANDOCERR_BADCHAR))
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

                 reply	other threads:[~2010-06-28 14:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201006281439.o5SEdIOW016748@krisdoz.my.domain \
    --to=kristaps@mdocml.bsd.lv \
    --cc=source@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).