version 1.53, 2014/07/02 07:10:38 |
version 1.56, 2014/10/10 08:44:24 |
|
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
*/ |
*/ |
#ifdef HAVE_CONFIG_H |
|
#include "config.h" |
#include "config.h" |
#endif |
|
|
|
|
#include <sys/types.h> |
|
|
#include <assert.h> |
#include <assert.h> |
#include <limits.h> |
#include <limits.h> |
#include <stdio.h> |
#include <stdio.h> |
Line 275 print_box(const struct eqn_box *ep, int indent) |
|
Line 275 print_box(const struct eqn_box *ep, int indent) |
|
case EQN_ROOT: |
case EQN_ROOT: |
t = "eqn-root"; |
t = "eqn-root"; |
break; |
break; |
|
case EQN_LISTONE: |
case EQN_LIST: |
case EQN_LIST: |
t = "eqn-list"; |
t = "eqn-list"; |
break; |
break; |
Line 284 print_box(const struct eqn_box *ep, int indent) |
|
Line 285 print_box(const struct eqn_box *ep, int indent) |
|
case EQN_TEXT: |
case EQN_TEXT: |
t = "eqn-text"; |
t = "eqn-text"; |
break; |
break; |
|
case EQN_PILE: |
|
t = "eqn-pile"; |
|
break; |
case EQN_MATRIX: |
case EQN_MATRIX: |
t = "eqn-matrix"; |
t = "eqn-matrix"; |
break; |
break; |
} |
} |
|
|
assert(t); |
assert(t); |
printf("%s(%d, %d, %d, %d, %d, \"%s\", \"%s\") %s\n", |
printf("%s(size=%d, args=%zu(%zu), pos=%d, font=%d, pile=%d, l=\"%s\", r=\"%s\") %s\n", |
t, EQN_DEFSIZE == ep->size ? 0 : ep->size, |
t, EQN_DEFSIZE == ep->size ? 0 : ep->size, |
ep->pos + 1, ep->font, ep->mark, ep->pile, |
ep->args, ep->expectargs, |
|
ep->pos, ep->font, ep->pile, |
ep->left ? ep->left : "", |
ep->left ? ep->left : "", |
ep->right ? ep->right : "", |
ep->right ? ep->right : "", |
ep->text ? ep->text : ""); |
ep->text ? ep->text : ""); |