Changeset 8343


Ignore:
Timestamp:
01/11/05 18:12:13 (17 years ago)
Author:
piso
Message:

SHARP-STAR: fix for SYNTAX.SHARP-ASTERISK.2 failure.

File:
1 edited

Legend:

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

    r8063 r8343  
    33 *
    44 * Copyright (C) 2004 Peter Graves
    5  * $Id: LispReader.java,v 1.29 2004-10-24 18:05:12 piso Exp $
     5 * $Id: LispReader.java,v 1.30 2005-01-11 18:12:13 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    196196                final int length = sb.length();
    197197                if (length == 0) {
    198                     return signal(new ReaderError("No element specified for bit vector of length "
    199                                                   + n + '.'));
     198                    if (n > 0)
     199                        return signal(new ReaderError("No element specified for bit vector of length "
     200                                                      + n + '.'));
    200201                }
    201202                if (n > length) {
Note: See TracChangeset for help on using the changeset viewer.