Beispiel #1
0
        protected void Targets()
        {
            string num;
            string target;

            do
            {
                num = GetNumber();
                SkipWhite();
                target = GetString();
                workspace.AddTarget(target);
                SkipWhite();
                Match(';');
                SkipWhite();
            } while (!Peek("@end;"));
        }
Beispiel #2
0
 public Target(Workspace parent, string name, string pbt_file) : base(parent, name)
 {
     parent.AddTarget(this);
     workingDirectory = Path.GetDirectoryName(pbt_file);
 }