Ejemplo n.º 1
0
        void ParseStartupFiles()
        {
            Driver d = new Driver(ctx);

            Location.Initialize(ctx.SourceFiles);

            var parser_session = new ParserSession();

            for (int i = 0; i < startup_files; ++i)
            {
                var sf = ctx.SourceFiles [i];
                d.Parse(sf, module, parser_session, ctx.Report);
            }
        }
Ejemplo n.º 2
0
		void ParseStartupFiles ()
		{
			Driver d = new Driver (ctx);

			Location.Initialize (ctx.SourceFiles);

			var parser_session = new ParserSession ();
			for (int i = 0; i < startup_files; ++i) {
				var sf = ctx.SourceFiles [i];
				d.Parse (sf, module, parser_session, ctx.Report);
			}
		}