version 1.84, 2011/07/21 12:30:44 |
version 1.85, 2011/07/21 13:18:24 |
|
|
EQN_SUBEXPR /* nested subexpression */ |
EQN_SUBEXPR /* nested subexpression */ |
}; |
}; |
|
|
|
enum eqn_markt { |
|
EQNMARK_NONE = 0, |
|
EQNMARK_DOT, |
|
EQNMARK_DOTDOT, |
|
EQNMARK_HAT, |
|
EQNMARK_TILDE, |
|
EQNMARK_VEC, |
|
EQNMARK_DYAD, |
|
EQNMARK_BAR, |
|
EQNMARK_UNDER, |
|
EQNMARK__MAX |
|
}; |
|
|
/* |
/* |
* A "box" is a parsed mathematical expression as defined by the eqn.7 |
* A "box" is a parsed mathematical expression as defined by the eqn.7 |
* grammar. |
* grammar. |
Line 294 struct eqn_box { |
|
Line 307 struct eqn_box { |
|
struct eqn_box *child; /* child node */ |
struct eqn_box *child; /* child node */ |
struct eqn_box *next; /* next in tree */ |
struct eqn_box *next; /* next in tree */ |
char *text; /* text (or NULL) */ |
char *text; /* text (or NULL) */ |
|
enum eqn_markt mark; /* whether 'marked' */ |
}; |
}; |
|
|
struct eqn { |
struct eqn { |