@ -1,4 +1,4 @@
#build
#build label(build)
a,Mg, ,CS,trackN, , , , , ,`, ,`,`,`, , , , ,`,`,`,`,`,#
b,Mh(1x1),S,CSa,trackS, , , , , ,Mw, ,`,wm,`, , , , ,`,`,`,`,`,#
c,Mhs(1x1),m,CSaa,trackE, ,`, , , ,`, ,`,`,`, , , , ,`,`,D,`,`,#
#dig
#dig label(dig)
d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,#
, ,d, , ,#
,f, , , ,#
d, ,b, ,d,#
,d,d,d, ,#
d,d,d,d,d,#
#place
#place label(place)
, , , , ,#
,f(1x1), ,f(1x1), ,#
@ -628,6 +628,14 @@ static bool get_filename(string &fname,
return true;
}
static string get_modeline(const string &phase)
{
std::ostringstream modeline;
modeline << "#" << phase << " label(" << phase << ")";
return modeline.str();
static bool write_blueprint(color_ostream &out,
std::map<string, ofstream*> &output_files,
const blueprint_options &opts,
@ -641,7 +649,7 @@ static bool write_blueprint(color_ostream &out,
output_files[fname] = new ofstream(fname, ofstream::trunc);
ofstream &ofile = *output_files[fname];
ofile << "#" << phase << endl;
ofile << get_modeline(phase) << endl;
ofile << stream.str();