package net.zero918nobita.Xemime;

import java.io.IOException;
import java.io.Reader;

/**
 * 字句解析器が使用するReader
 * @author Kodai Matsumoto
 */

public class LexerReader {
    private Reader reader;
    private boolean unget_p = false;
    private int ch;

    public LexerReader(Reader r) {
        reader = r;
    }

    public int read() throws IOException {
        if (unget_p) {
            unget_p = false;
        } else {
            ch = reader.read();
        }
        return ch;
    }

    public void unread() {
        unget_p = true;
    }
}

@@ -136,23 +136,16 @@
 to%0A */%0A%0A
-public 
 class Le
@@ -245,23 +245,16 @@
 h;%0A%0A    
-public 
 LexerRea
@@ -300,23 +300,16 @@
  %7D%0A%0A    
-public 
 int read
@@ -477,15 +477,8 @@
     
-public 
 void

Fix the access modifiers of LexerReader