Esempio n. 1
0
        public FileLexer(NameTable nameTable, string path) {
            _lexer = new Lexer(nameTable, path);
            _lexer.OnError += new ErrorEventHandler(ReportError);
            _parser = new PreprocessorLineParser(nameTable);
            _parser.OnError += new ErrorEventHandler(ReportError);

            _path = path;
        }
Esempio n. 2
0
        public FileLexer(NameTable nameTable, string path)
        {
            _lexer           = new Lexer(nameTable, path);
            _lexer.OnError  += new ErrorEventHandler(ReportError);
            _parser          = new PreprocessorLineParser(nameTable);
            _parser.OnError += new ErrorEventHandler(ReportError);

            _path = path;
        }