public override void close() { if(reader != null) { reader.close(); reader = null; } base.close(); }
public override void close() { if (reader != null) { reader.close(); reader = null; } base.close(); }
/* ppvalid is: * false in StringLexerSource, * true in FileLexerSource */ public LexerSource(TextReader r, bool ppvalid) { this.reader = new JoinReader(r); this.ppvalid = ppvalid; this.bol = true; this.include = false; this.digraphs = true; this.ucount = 0; this.line = 1; this.column = 0; this.lastcolumn = -1; this.cr = false; }
/* ppvalid is: * false in StringLexerSource, * true in FileLexerSource */ public LexerSource(TextReader r, bool ppvalid) { this.reader = new JoinReader(r); this.ppvalid = ppvalid; this.bol = true; this.include = false; this.digraphs = true; this.ucount = 0; this.line = 1; this.column = 0; this.lastcolumn = -1; this.cr = false; }