Changeset 115:8b4ba4064010 in livinglogic.java.ul4

Show
Ignore:
Timestamp:
06/25/08 21:35:50 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Add int constant for bool function.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/src/com/livinglogic/ull/Opcode.java

    r104 r115  
    5858    public static final int CF1_STR = 1; 
    5959    public static final int CF1_INT = 2; 
    60     public static final int CF1_LEN = 3; 
    61     public static final int CF1_ENUMERATE = 4; 
    62     public static final int CF1_ISNONE = 5; 
    63     public static final int CF1_ISSTR = 6; 
    64     public static final int CF1_ISINT = 7; 
    65     public static final int CF1_ISFLOAT = 8; 
    66     public static final int CF1_ISBOOL = 9; 
    67     public static final int CF1_ISLIST = 10; 
    68     public static final int CF1_ISDICT = 11; 
    69     public static final int CF1_CHR = 12; 
    70     public static final int CF1_ORD = 13; 
    71     public static final int CF1_HEX = 14; 
    72     public static final int CF1_OCT = 15; 
    73     public static final int CF1_BIN = 16; 
    74     public static final int CF1_SORTED = 17; 
    75     public static final int CF1_RANGE = 18; 
     60    public static final int CF1_BOOL = 3; 
     61    public static final int CF1_LEN = 4; 
     62    public static final int CF1_ENUMERATE = 5; 
     63    public static final int CF1_ISNONE = 6; 
     64    public static final int CF1_ISSTR = 7; 
     65    public static final int CF1_ISINT = 8; 
     66    public static final int CF1_ISFLOAT = 9; 
     67    public static final int CF1_ISBOOL = 10; 
     68    public static final int CF1_ISLIST = 11; 
     69    public static final int CF1_ISDICT = 12; 
     70    public static final int CF1_CHR = 13; 
     71    public static final int CF1_ORD = 14; 
     72    public static final int CF1_HEX = 15; 
     73    public static final int CF1_OCT = 16; 
     74    public static final int CF1_BIN = 17; 
     75    public static final int CF1_SORTED = 18; 
     76    public static final int CF1_RANGE = 19; 
    7677 
    7778    public static final int CF2_RANGE = 0; 
     
    228229        else if (name.equals("int")) 
    229230            return CF1_INT; 
     231        else if (name.equals("bool")) 
     232            return CF1_BOOL; 
    230233        else if (name.equals("len")) 
    231234            return CF1_LEN;