version 1.255, 2015/01/23 20:18:40 |
version 1.257, 2015/01/28 15:03:45 |
|
|
ROFF_minss, |
ROFF_minss, |
ROFF_mk, |
ROFF_mk, |
ROFF_mso, |
ROFF_mso, |
/* MAN_na; ignored in mdoc(7) */ |
ROFF_na, |
ROFF_ne, |
ROFF_ne, |
/* MAN_nf; ignored in mdoc(7) */ |
/* MAN_nf; ignored in mdoc(7) */ |
ROFF_nh, |
ROFF_nh, |
Line 580 static struct roffmac roffs[ROFF_MAX] = { |
|
Line 580 static struct roffmac roffs[ROFF_MAX] = { |
|
{ "minss", roff_line_ignore, NULL, NULL, 0, NULL }, |
{ "minss", roff_line_ignore, NULL, NULL, 0, NULL }, |
{ "mk", roff_line_ignore, NULL, NULL, 0, NULL }, |
{ "mk", roff_line_ignore, NULL, NULL, 0, NULL }, |
{ "mso", roff_insec, NULL, NULL, 0, NULL }, |
{ "mso", roff_insec, NULL, NULL, 0, NULL }, |
|
{ "na", roff_line_ignore, NULL, NULL, 0, NULL }, |
{ "ne", roff_line_ignore, NULL, NULL, 0, NULL }, |
{ "ne", roff_line_ignore, NULL, NULL, 0, NULL }, |
{ "nh", roff_line_ignore, NULL, NULL, 0, NULL }, |
{ "nh", roff_line_ignore, NULL, NULL, 0, NULL }, |
{ "nhychar", roff_line_ignore, NULL, NULL, 0, NULL }, |
{ "nhychar", roff_line_ignore, NULL, NULL, 0, NULL }, |
Line 1236 roff_parseln(struct roff *r, int ln, struct buf *buf, |
|
Line 1237 roff_parseln(struct roff *r, int ln, struct buf *buf, |
|
if (r->tbl != NULL && (t == ROFF_MAX || t == ROFF_TS)) { |
if (r->tbl != NULL && (t == ROFF_MAX || t == ROFF_TS)) { |
mandoc_msg(MANDOCERR_TBLMACRO, r->parse, |
mandoc_msg(MANDOCERR_TBLMACRO, r->parse, |
ln, pos, buf->buf + spos); |
ln, pos, buf->buf + spos); |
return(ROFF_IGN); |
if (t == ROFF_TS) |
|
return(ROFF_IGN); |
|
while (buf->buf[pos] != '\0' && buf->buf[pos] != ' ') |
|
pos++; |
|
while (buf->buf[pos] != '\0' && buf->buf[pos] == ' ') |
|
pos++; |
|
return(tbl_read(r->tbl, ln, buf->buf, pos)); |
} |
} |
|
|
/* |
/* |