Changeset 2384


Ignore:
Timestamp:
Feb 11, 2007, 6:25:12 AM (14 years ago)
Author:
orlov
Message:
  • Automatically assign priorities to unknown classes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/java/org/refal/plus/RefalRuntime.java

    r2058 r2384  
    103103        Object p = priorityHash.get(c);
    104104        if (p == null) {
    105             throw new RuntimeException(c + " have not been assigned priority");
     105//            throw new RuntimeException(c + " have not been assigned priority");
     106            return setPriority(c, ((Integer) priorities.get(priorities.size() - 2)).intValue());
    106107        }
    107108        return ((Integer) p).intValue();
Note: See TracChangeset for help on using the changeset viewer.