version 1.2, 2011/02/09 09:05:52 |
version 1.5, 2011/07/12 21:32:43 |
|
|
#include <time.h> |
#include <time.h> |
|
|
#include "mandoc.h" |
#include "mandoc.h" |
#include "roff.h" |
|
#include "libmandoc.h" |
#include "libmandoc.h" |
#include "libroff.h" |
#include "libroff.h" |
|
|
Line 54 eqn_read(struct eqn_node **epp, int ln, const char *p, |
|
Line 53 eqn_read(struct eqn_node **epp, int ln, const char *p, |
|
} |
} |
|
|
struct eqn_node * |
struct eqn_node * |
eqn_alloc(int pos, int line) |
eqn_alloc(int pos, int line, struct mparse *parse) |
{ |
{ |
struct eqn_node *p; |
struct eqn_node *p; |
|
|
p = mandoc_calloc(1, sizeof(struct eqn_node)); |
p = mandoc_calloc(1, sizeof(struct eqn_node)); |
|
p->parse = parse; |
|
|
p->eqn.line = line; |
p->eqn.line = line; |
p->eqn.pos = pos; |
p->eqn.pos = pos; |
|
|
return(p); |
return(p); |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
eqn_end(struct eqn_node *e) |
eqn_end(struct eqn_node *e) |
{ |
{ |