[BACK]Return to spexpr.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / io

Diff for /OpenXM_contrib2/asir2000/io/spexpr.c between version 1.28 and 1.29

version 1.28, 2004/02/13 05:48:36 version 1.29, 2004/03/03 09:25:30
Line 44 
Line 44 
  * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY   * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  * $OpenXM: OpenXM_contrib2/asir2000/io/spexpr.c,v 1.27 2004/02/09 08:23:30 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/io/spexpr.c,v 1.28 2004/02/13 05:48:36 saito Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "al.h"  #include "al.h"
Line 109  int print_quote;
Line 109  int print_quote;
 #define PRINTSF printsf  #define PRINTSF printsf
 #define PRINTSYMBOL printsymbol  #define PRINTSYMBOL printsymbol
 #define PRINTRANGE printrange  #define PRINTRANGE printrange
   #define PRINTTB printtb
 #endif  #endif
   
 #ifdef SPRINT  #ifdef SPRINT
Line 158  extern int print_quote;
Line 159  extern int print_quote;
 #define PRINTSF sprintsf  #define PRINTSF sprintsf
 #define PRINTSYMBOL sprintsymbol  #define PRINTSYMBOL sprintsymbol
 #define PRINTRANGE sprintrange  #define PRINTRANGE sprintrange
   #define PRINTTB sprinttb
 #endif  #endif
   
 void PRINTEXPR();  void PRINTEXPR();
Line 191  void PRINTQOP();
Line 193  void PRINTQOP();
 void PRINTSF();  void PRINTSF();
 void PRINTSYMBOL();  void PRINTSYMBOL();
 void PRINTRANGE();  void PRINTRANGE();
   void PRINTTB();
   
 #ifdef FPRINT  #ifdef FPRINT
 void output_init() {  void output_init() {
Line 309  Obj p;
Line 312  Obj p;
                         PRINTSYMBOL((SYMBOL)p); break;                          PRINTSYMBOL((SYMBOL)p); break;
                 case O_RANGE:                  case O_RANGE:
                         PRINTRANGE(vl,(RANGE)p); break;                          PRINTRANGE(vl,(RANGE)p); break;
                   case O_TB:
                           PRINTTB(vl,(TB)p); break;
                 default:                  default:
                         break;                          break;
         }          }
Line 1198  void PRINTRANGE(VL vl,RANGE p)
Line 1203  void PRINTRANGE(VL vl,RANGE p)
         PUTS(",");          PUTS(",");
         PRINTEXPR(vl,p->end);          PRINTEXPR(vl,p->end);
         PUTS(")");          PUTS(")");
   }
   
   void PRINTTB(VL vl,TB p)
   {
           int i;
   
           for ( i = 0; i < p->next; i++ ) {
                   PUTS(p->body[i]);
           }
 }  }

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>