Changeset 9949


Ignore:
Timestamp:
09/08/05 23:30:01 (16 years ago)
Author:
piso
Message:

readPathname(), faslReadPathname(): new Pathname() => Pathname.parseNamestring()

File:
1 edited

Legend:

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

    r9769 r9949  
    33 *
    44 * Copyright (C) 2003-2005 Peter Graves
    5  * $Id: Stream.java,v 1.135 2005-08-02 18:46:25 piso Exp $
     5 * $Id: Stream.java,v 1.136 2005-09-08 23:30:01 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    365365        LispObject obj = read(true, NIL, false);
    366366        if (obj instanceof AbstractString)
    367             return new Pathname(obj.getStringValue());
     367            return Pathname.parseNamestring((AbstractString)obj);
    368368        if (obj.listp())
    369369            return Pathname.makePathname(obj);
     
    375375        LispObject obj = faslRead(true, NIL, false);
    376376        if (obj instanceof AbstractString)
    377             return new Pathname(obj.getStringValue());
     377            return Pathname.parseNamestring((AbstractString)obj);
    378378        if (obj.listp())
    379379            return Pathname.makePathname(obj);
Note: See TracChangeset for help on using the changeset viewer.