bool eval_val(string s) { if (s == "true") { return(true); } if (s == "false") { return(false); } return(ConditionalSymbols != null && ConditionalSymbols.Contains(s)); }
protected CSharpPreprocessorParserBase(ITokenStream input) : base(input) { conditions.Push(true); ConditionalSymbols.Add("DEBUG"); }
protected CSharpPreprocessorParserBase(ITokenStream input, TextWriter output, TextWriter errorOutput) : base(input, output, errorOutput) { conditions.Push(true); ConditionalSymbols.Add("DEBUG"); }