Changeset 3617


Ignore:
Timestamp:
09/08/03 13:34:38 (20 years ago)
Author:
piso
Message:

ERROR, isConditionOfType(): support PARSE-ERROR.

File:
1 edited

Legend:

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

    r3614 r3617  
    33 *
    44 * Copyright (C) 2002-2003 Peter Graves
    5  * $Id: Primitives.java,v 1.375 2003-09-08 12:38:05 piso Exp $
     5 * $Id: Primitives.java,v 1.376 2003-09-08 13:34:38 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    11821182                if (datum == Symbol.TYPE_ERROR)
    11831183                    throw new TypeError(_format(args, 1));
     1184                if (datum == Symbol.PARSE_ERROR)
     1185                    throw new ParseError(_format(args, 1));
    11841186                if (datum == Symbol.PROGRAM_ERROR)
    11851187                    throw new ProgramError(_format(args, 1));
     
    18211823        if (type == Symbol.PACKAGE_ERROR)
    18221824            return c instanceof PackageError;
     1825        if (type == Symbol.PARSE_ERROR)
     1826            return c instanceof ParseError;
    18231827        if (type == Symbol.PROGRAM_ERROR)
    18241828            return c instanceof ProgramError;
Note: See TracChangeset for help on using the changeset viewer.