|
Message
From: cvs at opencores.org<cvs@o...>
Date: Mon Jun 26 12:47:45 CEST 2006
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/06/06 26:12:47 Modified: jop/java/tools/src/com/jopdesign/wcet WCETMethodBlock.java Log: no message Revision Changes Path 1.5 jop/java/tools/src/com/jopdesign/wcet/WCETMethodBlock.java http://www.opencores.org/cvsweb.shtml/jop/java/tools/src/com/jopdesign/wcet/WCETMethodBlock.java.diff?r1=1.4&r2=1.5 (In the diff below, changes in quantity of whitespace are not shown.) Index: WCETMethodBlock.java =================================================================== RCS file: /cvsroot/rasped/jop/java/tools/src/com/jopdesign/wcet/WCETMethodBlock.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- WCETMethodBlock.java 25 Jun 2006 08:56:33 -0000 1.4 +++ WCETMethodBlock.java 26 Jun 2006 10:47:45 -0000 1.5 @@ -179,7 +179,10 @@ while ((str = in.readLine()) != null) { line++; if(line >= startLine && line <= endLine){ - if(str.trim().startsWith("for ") || str.trim().startsWith("while ")){ + if(str.trim().startsWith("for (") + || str.trim().startsWith("while (") + || str.trim().startsWith("for(") + || str.trim().startsWith("while(")){ if(str.indexOf("@WCA")==-1){ System.out.println("Error: no WCA annotation on line "+line+" in "+filePath+":"+str); System.exit(-1); // can be commented out to force continuation
|