Changeset 3736


Ignore:
Timestamp:
Apr 17, 2008, 9:30:28 PM (13 years ago)
Author:
yura
Message:
 
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel-tools/trunk/eclipse/org.refal.rfpdt.core/src/org/refal/rfpdt/core/RfpBuilder.java

    r3704 r3736  
    353353            for (Comparable<?> p : res.getExpr()) {
    354354                Expr e = (Expr) p;
    355                 String name = (String) e.at(0);
    356                 Reference<byte[]> jbc = (Reference<byte[]>) e.at(1);
    357                 createClassFile(name, jbc.object);
     355                createClassFile((String) e.at(0), (byte[]) ((Reference) e.at(1)).object);
    358356            }
    359357        } catch (RefalException e) {
  • to-imperative/trunk/compiler/refal/org/refal/plus/compiler/rfp_asail_jbc.rf

    r3731 r3736  
    15371537      (SVAR e) B = "toByte";
    15381538      (SVAR e) S = "toShort";
    1539       (SVAR e) I = "toShort";
     1539      (SVAR e) I = "toInt";
    15401540      (SVAR e) J = "toLong";
    15411541      (EVAR e) "[Z" = "toBooleanArray";
     
    15431543      (EVAR e) "[B" = "toByteArray";
    15441544      (EVAR e) "[S" = "toShortArray";
    1545       (EVAR e) "[I" = "toShortArray";
     1545      (EVAR e) "[I" = "toIntArray";
    15461546      (EVAR e) "[J" = "toLongArray";
    15471547    } :: s.methodName,
Note: See TracChangeset for help on using the changeset viewer.