[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.3 and 1.5

version 1.3, 2004/04/08 01:49:04 version 1.5, 2018/05/02 21:25:38
Line 1 
Line 1 
 /* $OpenXM: OpenXM/src/kan96xx/trans/yymain_polymake.c,v 1.2 2003/12/04 07:49:24 takayama Exp $ */  /* $OpenXM: OpenXM/src/kan96xx/trans/yymain_polymake.c,v 1.4 2004/07/15 07:50:40 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"
Line 30  main_t() {
Line 30  main_t() {
   
 main() {  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);
Line 50  main() {
Line 50  main() {
   PMparse();    PMparse();
 }  }
   
 sGC_malloc(int n) {  void *sGC_malloc(int n) {
   return GC_malloc(n);    return GC_malloc(n);
 }  }
   
 PMerror() {  PMerror() {
     fprintf(stderr,"Parse error. cf. yylex_polymake.c: PM_debug=1;\n");
 }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5

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