public CPreprocessor(IIncludeReader IncludeReader = null, TextWriter TextWriter = null) { if (IncludeReader == null) { IncludeReader = new IncludeReader(); //((IncludeReader)IncludeReader).AddFolder(@"c:\dev\tcc\include"); } if (TextWriter == null) TextWriter = new StringWriter(); this.Context = new CPreprocessorContext(IncludeReader, TextWriter); }
public CPreprocessor(IIncludeReader IncludeReader = null, TextWriter TextWriter = null) { if (IncludeReader == null) { IncludeReader = new IncludeReader(); //((IncludeReader)IncludeReader).AddFolder(@"c:\dev\tcc\include"); } if (TextWriter == null) { TextWriter = new StringWriter(); } this.Context = new CPreprocessorContext(IncludeReader, TextWriter); }