version 1.95, 2015/10/12 00:08:15 |
version 1.97, 2015/10/15 23:35:55 |
|
|
#include "mandoc_aux.h" |
#include "mandoc_aux.h" |
#include "libmandoc.h" |
#include "libmandoc.h" |
|
|
#define DATESIZE 32 |
|
|
|
static int a2time(time_t *, const char *, const char *); |
static int a2time(time_t *, const char *, const char *); |
static char *time2a(time_t); |
static char *time2a(time_t); |
|
|
Line 332 mandoc_escape(const char **end, const char **start, in |
|
Line 330 mandoc_escape(const char **end, const char **start, in |
|
if (*sz == 7 && ((*start)[1] != '1' || (*start)[2] != '0')) |
if (*sz == 7 && ((*start)[1] != '1' || (*start)[2] != '0')) |
break; |
break; |
if (*sz == 6 && (*start)[1] == '0') |
if (*sz == 6 && (*start)[1] == '0') |
|
break; |
|
if (*sz == 5 && (*start)[1] == 'D' && |
|
strchr("89ABCDEF", (*start)[2]) != NULL) |
break; |
break; |
if ((int)strspn(*start + 1, "0123456789ABCDEFabcdef") |
if ((int)strspn(*start + 1, "0123456789ABCDEFabcdef") |
+ 1 == *sz) |
+ 1 == *sz) |