Changeset 4095


Ignore:
Timestamp:
09/28/03 14:14:04 (20 years ago)
Author:
piso
Message:

readObjectFromString(): use a StringInputStream?.

File:
1 edited

Legend:

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

    r4089 r4095  
    33 *
    44 * Copyright (C) 2002-2003 Peter Graves
    5  * $Id: Lisp.java,v 1.154 2003-09-28 00:46:19 piso Exp $
     5 * $Id: Lisp.java,v 1.155 2003-09-28 14:14:04 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    674674    {
    675675        try {
    676             CharacterInputStream in = new CharacterInputStream(s);
    677             return in.read(true, NIL, false);
     676            return new StringInputStream(s).read(true, NIL, false);
    678677        }
    679678        catch (Throwable t) {
Note: See TracChangeset for help on using the changeset viewer.