Commit e2e9c360 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Ignore set-type-limit ... the prepass does not know what to do with it

and neither do I.
parent 8ca449ef
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2004, 2008 University of Utah and the Flux Group.
# Copyright (c) 2004-2009 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -96,7 +96,7 @@ $newgraph = combine_links($newgraph);
# Make a filename for our coarsened topfile
my $tmp_topfile = $topfile;
$tmp_topfile =~ s/(\.top)?$/-coarsened$1/;
$tmp_topfile =~ s/(\.v?top)?$/-coarsened$1/;
print "Generating new topfile\n";
my @topfile = generate_topfile($newgraph);
......@@ -319,6 +319,10 @@ sub parse_ptop($) {
my @tokens = split /\s+/,$line;
next unless (@tokens); # Skip blank lines
SWITCH: for (shift @tokens) {
/^set-type-limit$/ && do {
# Skip these.
last;
};
/^node$/ && do {
my $name = shift @tokens;
my @types;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment