Changeset 3766
- Timestamp:
- 09/14/03 16:28:22 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/lisp/Primitives.java
r3761 r3766 3 3 * 4 4 * Copyright (C) 2002-2003 Peter Graves 5 * $Id: Primitives.java,v 1.39 2 2003-09-14 15:33:05piso Exp $5 * $Id: Primitives.java,v 1.393 2003-09-14 16:28:22 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 1174 1174 LispObject datum = args[0]; 1175 1175 if (datum instanceof Symbol) { 1176 if (datum == Symbol. TYPE_ERROR)1177 throw new TypeError(_format(args, 1));1176 if (datum == Symbol.PACKAGE_ERROR) 1177 throw new PackageError(_format(args, 1)); 1178 1178 if (datum == Symbol.PARSE_ERROR) 1179 1179 throw new ParseError(_format(args, 1)); 1180 1180 if (datum == Symbol.PROGRAM_ERROR) 1181 1181 throw new ProgramError(_format(args, 1)); 1182 if (datum == Symbol.TYPE_ERROR) 1183 throw new TypeError(_format(args, 1)); 1182 1184 // Default. 1183 1185 throw new SimpleError(((Symbol)datum).getName());
Note: See TracChangeset
for help on using the changeset viewer.