Changeset 10323


Ignore:
Timestamp:
11/02/05 03:04:31 (16 years ago)
Author:
piso
Message:

StandardClass?.COMPILER_ERROR
StandardClass?.COMPILER_UNSUPPORTED_FEATURE_ERROR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/StandardClass.java

    r10319 r10323  
    33 *
    44 * Copyright (C) 2003-2005 Peter Graves
    5  * $Id: StandardClass.java,v 1.42 2005-11-01 17:53:26 piso Exp $
     5 * $Id: StandardClass.java,v 1.43 2005-11-02 03:04:31 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    190190        addStandardClass(Symbol.UNDEFINED_FUNCTION, list1(CELL_ERROR));
    191191
     192    public static final StandardClass COMPILER_ERROR =
     193        addStandardClass(Symbol.COMPILER_ERROR, list1(CONDITION));
     194
     195    public static final StandardClass COMPILER_UNSUPPORTED_FEATURE_ERROR =
     196        addStandardClass(Symbol.COMPILER_UNSUPPORTED_FEATURE_ERROR,
     197                         list1(CONDITION));
     198
    192199    public static final StandardClass JAVA_EXCEPTION =
    193200        addStandardClass(Symbol.JAVA_EXCEPTION, list1(ERROR));
     
    237244        CELL_ERROR.setDirectSlotDefinitions(
    238245            list1(new SlotDefinition(Symbol.NAME,
    239                                      list1(PACKAGE_CL.intern("CELL-ERROR-NAME")))));
     246                                     list1(Symbol.CELL_ERROR_NAME))));
    240247        CLASS.setCPL(CLASS, STANDARD_OBJECT, BuiltInClass.CLASS_T);
     248        COMPILER_ERROR.setCPL(COMPILER_ERROR, CONDITION, STANDARD_OBJECT,
     249                              BuiltInClass.CLASS_T);
     250        COMPILER_UNSUPPORTED_FEATURE_ERROR.setCPL(COMPILER_UNSUPPORTED_FEATURE_ERROR,
     251                                                  CONDITION, STANDARD_OBJECT,
     252                                                  BuiltInClass.CLASS_T);
    241253        CONDITION.setCPL(CONDITION, STANDARD_OBJECT, BuiltInClass.CLASS_T);
    242254        CONDITION.setDirectSlotDefinitions(
     
    356368        ARITHMETIC_ERROR.finalizeClass();
    357369        CELL_ERROR.finalizeClass();
     370        COMPILER_ERROR.finalizeClass();
     371        COMPILER_UNSUPPORTED_FEATURE_ERROR.finalizeClass();
    358372        CONDITION.finalizeClass();
    359373        CONTROL_ERROR.finalizeClass();
Note: See TracChangeset for help on using the changeset viewer.