LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Mon Jun 26 12:47:45 CEST 2006
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    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



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.