version 1.26, 2009/03/06 14:13:47 |
version 1.32, 2009/03/23 14:22:11 |
|
|
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
* PERFORMANCE OF THIS SOFTWARE. |
* PERFORMANCE OF THIS SOFTWARE. |
*/ |
*/ |
|
#include <sys/types.h> |
|
|
#include <assert.h> |
#include <assert.h> |
#include <ctype.h> |
#include <ctype.h> |
#include <stdlib.h> |
#include <stdlib.h> |
#include <stdio.h> |
#include <stdio.h> |
#include <string.h> |
#include <string.h> |
#ifndef __OpenBSD__ |
|
#include <time.h> |
|
#endif |
|
|
|
#include "private.h" |
#include "libmdoc.h" |
|
|
/* |
/* |
* Various string-literal operations: converting scalars to and from |
* Various string-literal operations: converting scalars to and from |
Line 84 mdoc_isescape(const char *p) |
|
Line 83 mdoc_isescape(const char *p) |
|
/* FALLTHROUGH */ |
/* FALLTHROUGH */ |
case ('`'): |
case ('`'): |
/* FALLTHROUGH */ |
/* FALLTHROUGH */ |
|
case ('q'): |
|
/* FALLTHROUGH */ |
case ('-'): |
case ('-'): |
/* FALLTHROUGH */ |
/* FALLTHROUGH */ |
|
case ('%'): |
|
/* FALLTHROUGH */ |
case (' '): |
case (' '): |
/* FALLTHROUGH */ |
/* FALLTHROUGH */ |
|
case ('|'): |
|
/* FALLTHROUGH */ |
case ('&'): |
case ('&'): |
/* FALLTHROUGH */ |
/* FALLTHROUGH */ |
case ('.'): |
case ('.'): |
|
/* FALLTHROUGH */ |
|
case (':'): |
/* FALLTHROUGH */ |
/* FALLTHROUGH */ |
case ('e'): |
case ('e'): |
return(2); |
return(2); |