version 1.230, 2014/10/16 01:11:20 |
version 1.231, 2014/10/16 01:28:38 |
Line 1883 roff_eqndelim(struct roff *r, char **bufp, size_t *szp |
|
Line 1883 roff_eqndelim(struct roff *r, char **bufp, size_t *szp |
|
|
|
/* Replace the delimiter with an equation macro. */ |
/* Replace the delimiter with an equation macro. */ |
|
|
*szp = mandoc_asprintf(&cp1, "%s\n.E%c\n\\&%s", *bufp, |
*szp = mandoc_asprintf(&cp1, "%s\n.E%s%s", *bufp, |
r->eqn == NULL ? 'Q' : 'N', cp2) + 1; |
r->eqn == NULL ? "Q\n" : "N\n\\&", cp2) + 1; |
free(*bufp); |
free(*bufp); |
*bufp = cp1; |
*bufp = cp1; |
|
|