version 1.11, 2011/04/04 23:04:38 |
version 1.13, 2011/04/11 21:59:39 |
Line 142 static const char * const mandocerrs[MANDOCERR_MAX] = |
|
Line 142 static const char * const mandocerrs[MANDOCERR_MAX] = |
|
"tab in non-literal context", |
"tab in non-literal context", |
"end of line whitespace", |
"end of line whitespace", |
"bad comment style", |
"bad comment style", |
"unknown escape sequence", |
"bad escape sequence", |
"unterminated quoted string", |
"unterminated quoted string", |
|
|
"generic error", |
"generic error", |
Line 354 mparse_buf_r(struct mparse *curp, struct buf blk, int |
|
Line 354 mparse_buf_r(struct mparse *curp, struct buf blk, int |
|
continue; |
continue; |
} |
} |
|
|
if ('"' == blk.buf[i + 1]) { |
if ('"' == blk.buf[i + 1] || '#' == blk.buf[i + 1]) { |
i += 2; |
i += 2; |
/* Comment, skip to end of line */ |
/* Comment, skip to end of line */ |
for (; i < (int)blk.sz; ++i) { |
for (; i < (int)blk.sz; ++i) { |