version 1.223, 2014/08/01 15:08:46 |
version 1.224, 2014/08/01 17:27:44 |
Line 1975 roff_so(ROFF_ARGS) |
|
Line 1975 roff_so(ROFF_ARGS) |
|
char *name; |
char *name; |
|
|
name = *bufp + pos; |
name = *bufp + pos; |
mandoc_vmsg(MANDOCERR_SO, r->parse, ln, ppos, ".so %s", name); |
mandoc_vmsg(MANDOCERR_SO, r->parse, ln, ppos, "so %s", name); |
|
|
/* |
/* |
* Handle `so'. Be EXTREMELY careful, as we shouldn't be |
* Handle `so'. Be EXTREMELY careful, as we shouldn't be |
Line 2067 roff_getname(struct roff *r, char **cpp, int ln, int p |
|
Line 2067 roff_getname(struct roff *r, char **cpp, int ln, int p |
|
cp++; |
cp++; |
if ('\\' == *cp) |
if ('\\' == *cp) |
continue; |
continue; |
mandoc_msg(MANDOCERR_NAMESC, r->parse, ln, pos, NULL); |
mandoc_vmsg(MANDOCERR_NAMESC, r->parse, ln, pos, |
|
"%.*s", (int)(cp - name + 1), name); |
mandoc_escape((const char **)&cp, NULL, NULL); |
mandoc_escape((const char **)&cp, NULL, NULL); |
break; |
break; |
} |
} |