Changeset 8341


Ignore:
Timestamp:
01/11/05 17:47:10 (17 years ago)
Author:
piso
Message:

Use Readtable.checkInvalid() to detect invalid constituent characters.

File:
1 edited

Legend:

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

    r8218 r8341  
    22 * Stream.java
    33 *
    4  * Copyright (C) 2003-2004 Peter Graves
    5  * $Id: Stream.java,v 1.100 2004-12-07 01:10:57 piso Exp $
     4 * Copyright (C) 2003-2005 Peter Graves
     5 * $Id: Stream.java,v 1.101 2005-01-11 17:47:10 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    680680            Debug.assertTrue(sb.length() == 1);
    681681            char c = sb.charAt(0);
     682            rt.checkInvalid(c);
    682683            if (c == '|') {
    683684                sb.setLength(0);
     
    716717                break;
    717718            }
     719            rt.checkInvalid(c);
    718720            switch (c) {
    719721                case '\\':
Note: See TracChangeset for help on using the changeset viewer.