Changeset 4282


Ignore:
Timestamp:
10/10/03 14:17:32 (19 years ago)
Author:
piso
Message:

toString()

File:
1 edited

Legend:

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

    r4160 r4282  
    33 *
    44 * Copyright (C) 2002-2003 Peter Graves
    5  * $Id: Symbol.java,v 1.87 2003-10-01 17:30:53 piso Exp $
     5 * $Id: Symbol.java,v 1.88 2003-10-10 14:17:32 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    397397    public String toString()
    398398    {
     399        if (pkg == PACKAGE_KEYWORD)
     400            return ":".concat(name);
    399401        if (_PRINT_ESCAPE_.symbolValueNoThrow() == NIL)
    400402            return name;
    401 
    402403        boolean escape = false;
    403404        for (int i = name.length(); i-- > 0;) {
     
    423424                return s;
    424425        }
    425         if (pkg == PACKAGE_KEYWORD)
    426             return ":".concat(s);
    427426        final Package currentPackage = (Package) _PACKAGE_.getSymbolValue();
    428427        if (pkg == currentPackage)
Note: See TracChangeset for help on using the changeset viewer.