version 1.2, 2008/12/17 17:18:38 |
version 1.3, 2008/12/28 00:34:20 |
|
|
#include "private.h" |
#include "private.h" |
|
|
int |
int |
mdoc_isdelim(const char *p) |
mdoc_iscdelim(char p) |
{ |
{ |
|
|
if (0 == *p) |
switch (p) { |
return(0); |
|
if (0 != *(p + 1)) |
|
return(0); |
|
|
|
switch (*p) { |
|
case('{'): |
case('{'): |
/* FALLTHROUGH */ |
/* FALLTHROUGH */ |
case('.'): |
case('.'): |
Line 63 mdoc_isdelim(const char *p) |
|
Line 58 mdoc_isdelim(const char *p) |
|
} |
} |
|
|
return(0); |
return(0); |
|
} |
|
|
|
|
|
int |
|
mdoc_isdelim(const char *p) |
|
{ |
|
|
|
if (0 == *p) |
|
return(0); |
|
if (0 != *(p + 1)) |
|
return(0); |
|
return(mdoc_iscdelim(*p)); |
} |
} |
|
|
|
|