예제 #1
0
        public BuildfileParser(StreamReader reader, string topsrc, string resource_subdir,
                               string location_base, WrenchProvider wp, IWarningLogger log)
        {
            lexer = new BuildfileTokenizer(reader);

            this.topsrc          = topsrc;
            this.resource_subdir = resource_subdir;
            this.location_base   = location_base;
            this.wp  = wp;
            this.log = log;

            cur_nlc = wp.NameContext;
        }
예제 #2
0
	public BuildfileParser (StreamReader reader, string topsrc, string resource_subdir, 
				string location_base, WrenchProvider wp, IWarningLogger log)
	{
	    lexer = new BuildfileTokenizer (reader);

	    this.topsrc = topsrc;
	    this.resource_subdir = resource_subdir;
	    this.location_base = location_base;
	    this.wp = wp;
	    this.log = log;

	    cur_nlc = wp.NameContext;
	}