version 1.2, 2000/12/03 22:09:34 |
version 1.3, 2003/01/11 12:38:57 |
|
|
/* -*- mode: C; coding: euc-japan -*- */ |
/* -*- mode: C; coding: euc-japan -*- */ |
/* $OpenXM: OpenXM/src/ox_math/sm_ext.c,v 1.1 2000/12/03 21:45:48 ohara Exp $ */ |
/* $OpenXM: OpenXM/src/ox_math/sm_ext.c,v 1.2 2000/12/03 22:09:34 ohara Exp $ */ |
|
|
/* |
/* |
Copyright (C) Katsuyoshi OHARA, 2000. |
Copyright (C) Katsuyoshi OHARA, 2000. |
Line 52 void sm_popString() |
|
Line 52 void sm_popString() |
|
cmo *m; |
cmo *m; |
|
|
#ifdef DEBUG |
#ifdef DEBUG |
fprintf(stderr, "ox_math:: opecode = SM_popString.\n"); |
fprintf(ox_stderr, "ox_math:: opecode = SM_popString.\n"); |
#endif |
#endif |
|
|
m = pop(); |
m = pop(); |
Line 91 void sm_executeStringByLocalParser() |
|
Line 91 void sm_executeStringByLocalParser() |
|
cmo* m = pop(); |
cmo* m = pop(); |
char *s = NULL; |
char *s = NULL; |
#ifdef DEBUG |
#ifdef DEBUG |
fprintf(stderr, "ox_math:: opecode = SM_executeStringByLocalParser.\n"); |
fprintf(ox_stderr, "ox_math:: opecode = SM_executeStringByLocalParser.\n"); |
#endif |
#endif |
|
|
if (m->tag == CMO_STRING |
if (m->tag == CMO_STRING |
Line 108 void sm_executeStringByLocalParser() |
|
Line 108 void sm_executeStringByLocalParser() |
|
}else { |
}else { |
#ifdef DEBUG |
#ifdef DEBUG |
symp = lookup_by_tag(m->tag); |
symp = lookup_by_tag(m->tag); |
fprintf(stderr, "ox_math:: error. the top of stack is %s.\n", symbol_get_key(symp)); |
fprintf(ox_stderr, "ox_math:: error. the top of stack is %s.\n", symbol_get_key(symp)); |
#endif |
#endif |
push_error(SM_executeStringByLocalParser, m); |
push_error(SM_executeStringByLocalParser, m); |
} |
} |