Added \| (non-breaking space, like \&).
Fixed termsym (TERMSYM_ALL).
.SUFFIXES: .html .sgml
-VERSION = 1.4.14
-VDATE = 13 March 2009
+VERSION = 1.4.15
+VDATE = 14 March 2009
BINDIR = $(PREFIX)/bin
INCLUDEDIR = $(PREFIX)/include
-/* $Id: mdocterm.c,v 1.40 2009/03/12 06:32:17 kristaps Exp $ */
+/* $Id: mdocterm.c,v 1.41 2009/03/14 05:36:07 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
{ "&", TERMSYM_BREAK },
{ "e", TERMSYM_SLASH },
{ "q", TERMSYM_DQUOTE },
+ { "|", TERMSYM_BREAK },
{ NULL, 0 }
};
{ NULL, 0 }
};
-static struct termsym termsym_ansi[] = {
+static struct termsym termsym_ansi[TERMSYM_MAX] = {
{ "]", 1 }, /* TERMSYM_RBRACK */
{ "[", 1 }, /* TERMSYM_LBRACK */
{ "<-", 2 }, /* TERMSYM_LARROW */
-/* $Id: strings.c,v 1.28 2009/03/13 07:46:10 kristaps Exp $ */
+/* $Id: strings.c,v 1.29 2009/03/14 05:36:07 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
/* FALLTHROUGH */
case (' '):
/* FALLTHROUGH */
+ case ('|'):
+ /* FALLTHROUGH */
case ('&'):
/* FALLTHROUGH */
case ('.'):
(void)memset(&tm, 0, sizeof(struct tm));
- if (xstrcmp(p, "$Mdocdate: March 13 2009 $"))
+ if (xstrcmp(p, "$Mdocdate: March 14 2009 $"))
return(time(NULL));
- if ((pp = strptime(p, "$Mdocdate: March 13 2009 $", &tm)) && 0 == *pp)
+ if ((pp = strptime(p, "$Mdocdate: March 14 2009 $", &tm)) && 0 == *pp)
return(mktime(&tm));
/* XXX - this matches "June 1999", which is wrong. */
if ((pp = strptime(p, "%b %d %Y", &tm)) && 0 == *pp)
-/* $Id: term.h,v 1.20 2009/03/11 00:39:58 kristaps Exp $ */
+/* $Id: term.h,v 1.21 2009/03/14 05:36:07 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
TERMSYM_LANGLE = 37,
TERMSYM_RANGLE = 38,
TERMSYM_LBRACE = 39,
- TERMSYM_RBRACE = 40
+ TERMSYM_RBRACE = 40,
+ TERMSYM_MAX = 41
};