[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.2 and 1.8

version 1.2, 2003/12/04 07:49:24 version 1.8, 2020/11/01 10:28:21
Line 1 
Line 1 
 /* $OpenXM: OpenXM/src/kan96xx/trans/yymain_polymake.c,v 1.1 2003/11/24 02:33:39 takayama Exp $ */  /* $OpenXM: OpenXM/src/kan96xx/trans/yymain_polymake.c,v 1.7 2020/10/06 11:33:48 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() {  int main_t() {
   int c,type;    int c,type;
   pmPutstr(-1);    pmPutstr(-1);
   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 25  main_t() {
Line 26  main_t() {
         }          }
         printf("\n");          printf("\n");
   }    }
     return 0;
 }  }
   
 main() {  int PMparse();
   
   int main() {
   int c,type;    int c,type;
     GC_INIT();
   pmPutstr(-1);    pmPutstr(-1);
   while ((c=getchar()) != EOF) {    while ((c=getchar()) != EOF) {
         pmPutstr(c);          pmPutstr(c);
   }    }
     pmPutstr('\n');
   SS = pmPutstr(0);    SS = pmPutstr(0);
 #ifdef DEBUG  #ifdef DEBUG
   printf("%s\n",SS);    printf("%s\n",SS);
Line 46  main() {
Line 51  main() {
   printf("--------------------------\n");    printf("--------------------------\n");
 #endif  #endif
   PMparse();    PMparse();
     return 0;
 }  }
   
 sGC_malloc(int n) {  void *sGC_malloc(int n) {
   return GC_malloc(n);    return GC_malloc(n);
 }  }
   
 PMerror() {  void PMerror() {
     fprintf(stderr,"Parse error. cf. yylex_polymake.c: PM_debug=1;\n");
 }  }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.8

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