Changeset 2058


Ignore:
Timestamp:
Aug 24, 2006, 7:31:48 PM (14 years ago)
Author:
orlov
Message:
  • Various small amendments.
Location:
to-imperative/trunk/java/org/refal/plus
Files:
3 edited

Legend:

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

    r2022 r2058  
    199199                }
    200200                catch (ClassCastException _) {
    201                     int h1 = terms[i].hashCode();
    202                     int h2 = e.terms[j].hashCode();
     201                    int h1 = System.identityHashCode(terms[i]);
     202                    int h2 = System.identityHashCode(e.terms[j]);
    203203                    if      (h1 > h2) res = 1;
    204204                    else if (h1 < h2) res = -1;
  • to-imperative/trunk/java/org/refal/plus/RefalException.java

    r1957 r2058  
    2020    {
    2121        // FIXME: if in compatibility mode then shouldn't throw lib.
    22         String[] arr = { lib, func, error };
     22        Word[] arr = { new Word(lib), new Word(func), new Word (error) };
    2323        expr = new Expr(arr);
    2424    }
  • to-imperative/trunk/java/org/refal/plus/RefalRuntime.java

    r1962 r2058  
    1111public class RefalRuntime
    1212{
    13     private static Expr[] args;
     13    public static Expr[] args;
    1414
    1515    public static void setArgs (String arg0, String[] _args)
Note: See TracChangeset for help on using the changeset viewer.