|
Message
From: OpenCores CVS Agent<cvs@o...>
Date: Sun Jan 23 14:19:44 CET 2005
Subject: [cvs-checkins] MODIFIED: sc2v ...
Date: 00/05/01 23:14:19 Modified: sc2v/src list.c sc2v_step1.l sc2v_step1.y sc2v_step2.l sc2v_step2.y Log: Version 0.2.4. Bugs corrected contributed by Harald Devos Revision Changes Path 1.3 +20 -19 sc2v/src/list.c http://www.opencores.org/cvsweb.shtml/sc2v/src/list.c.diff?r1=1.2&r2=1.3 (In the diff below, changes in quantity of whitespace are not shown.) Index: list.c =================================================================== RCS file: /cvsroot/jcastillo/sc2v/src/list.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- list.c 20 Dec 2004 17:49:07 -0000 1.2 +++ list.c 23 Jan 2005 13:19:43 -0000 1.3 @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------------- * - * SystemC to Verilog Translator v0.1 + * SystemC to Verilog Translator v0.2 * Provided by OpenSoc Design * * www.opensocdesign.com @@ -905,7 +905,8 @@ aux = aux->next; i++; } - } + } else + return -1; } int findEnumerateLength(EnumListList *list, int offset){ 1.6 +96 -96 sc2v/src/sc2v_step1.l http://www.opencores.org/cvsweb.shtml/sc2v/src/sc2v_step1.l.diff?r1=1.5&r2=1.6 (In the diff below, changes in quantity of whitespace are not shown.) Index: sc2v_step1.l =================================================================== RCS file: /cvsroot/jcastillo/sc2v/src/sc2v_step1.l,v retrieving revision 1.5 retrieving revision 1.6 diff -u -b -r1.5 -r1.6 1.5 +2 -3 sc2v/src/sc2v_step1.y http://www.opencores.org/cvsweb.shtml/sc2v/src/sc2v_step1.y.diff?r1=1.4&r2=1.5 (In the diff below, changes in quantity of whitespace are not shown.) Index: sc2v_step1.y =================================================================== RCS file: /cvsroot/jcastillo/sc2v/src/sc2v_step1.y,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- sc2v_step1.y 20 Jan 2005 18:20:08 -0000 1.4 +++ sc2v_step1.y 23 Jan 2005 13:19:44 -0000 1.5 @@ -95,7 +95,6 @@ file_writes = (char *)malloc(256*sizeof(int)); strcpy(file_writes, (char *)"file_writes.sc2v"); FILE_WRITES = fopen(file_writes,(char *)"w"); - if(FILE_WRITES!=NULL) printf("\nopening file => filename = %s\n",file_writes); 1.4 +94 -94 sc2v/src/sc2v_step2.l http://www.opencores.org/cvsweb.shtml/sc2v/src/sc2v_step2.l.diff?r1=1.3&r2=1.4 (In the diff below, changes in quantity of whitespace are not shown.) Index: sc2v_step2.l =================================================================== RCS file: /cvsroot/jcastillo/sc2v/src/sc2v_step2.l,v retrieving revision 1.3 retrieving revision 1.4 diff -u -b -r1.3 -r1.4 1.3 +0 -1 sc2v/src/sc2v_step2.y http://www.opencores.org/cvsweb.shtml/sc2v/src/sc2v_step2.y.diff?r1=1.2&r2=1.3
(In the diff below, changes in quantity of whitespace are not shown.)
Index: sc2v_step2.y
===================================================================
RCS file: /cvsroot/jcastillo/sc2v/src/sc2v_step2.y,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- sc2v_step2.y 20 Dec 2004 17:49:08 -0000 1.2
+++ sc2v_step2.y 23 Jan 2005 13:19:44 -0000 1.3
@@ -548,7 +548,6 @@
{
InsertEnumerates(enumerateslist, (char *)$1);
InsertEnumList(enumlistlist,enumerateslist,enumname,1); //Insert also the variable name
- free(enumname);
reading_enumerates=0;
}
}
|
 |