[BACK]Return to yymain_polymake.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / trans

Diff for /OpenXM/src/kan96xx/trans/yymain_polymake.c between version 1.1 and 1.4

version 1.1, 2003/11/24 02:33:39 version 1.4, 2004/07/15 07:50:40
Line 1 
Line 1 
 /* $OpenXM$ */  /* $OpenXM: OpenXM/src/kan96xx/trans/yymain_polymake.c,v 1.3 2004/04/08 01:49:04 takayama Exp $ */
 #include <stdio.h>  #include <stdio.h>
 #include "yylex_polymake.h"  #include "yylex_polymake.h"
 #include "yy_polymake.tab.h"  #include "yy_polymake.tab.h"
   
   
 char *SS=NULL;  char *SS=NULL;
 main_t() {  main_t() {
   int c,type;    int c,type;
Line 10  main_t() {
Line 11  main_t() {
   while ((c=getchar()) != EOF) {    while ((c=getchar()) != EOF) {
         pmPutstr(c);          pmPutstr(c);
   }    }
     pmPutstr('\n');
   SS = pmPutstr(0);    SS = pmPutstr(0);
   printf("%s\n",SS);    printf("%s\n",SS);
   pmSetS(SS);    pmSetS(SS);
Line 33  main() {
Line 35  main() {
   while ((c=getchar()) != EOF) {    while ((c=getchar()) != EOF) {
         pmPutstr(c);          pmPutstr(c);
   }    }
     pmPutstr('\n');
   SS = pmPutstr(0);    SS = pmPutstr(0);
   #ifdef DEBUG
   printf("%s\n",SS);    printf("%s\n",SS);
   #endif
   pmSetS(SS);    pmSetS(SS);
   pmPreprocess();    pmPreprocess();
   #ifdef DEBUG
   printf("--------------------------\n");    printf("--------------------------\n");
   printf("%s\n",SS);    printf("%s\n",SS);
   printf("--------------------------\n");    printf("--------------------------\n");
   #endif
   PMparse();    PMparse();
 }  }
   
Line 48  sGC_malloc(int n) {
Line 55  sGC_malloc(int n) {
 }  }
   
 PMerror() {  PMerror() {
     fprintf(stderr,"Parse error. cf. yylex_polymake.c: PM_debug=1;\n");
 }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

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