From c762564bd754884e847922c99172076fde4d646e Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 7 Sep 2018 22:42:23 -0700 Subject: 4539 --- html/subx/003trace.cc.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'html/subx/003trace.cc.html') diff --git a/html/subx/003trace.cc.html b/html/subx/003trace.cc.html index 38d75d22..93e351db 100644 --- a/html/subx/003trace.cc.html +++ b/html/subx/003trace.cc.html @@ -3,7 +3,7 @@ Mu - subx/003trace.cc - + @@ -15,13 +15,13 @@ body { font-size: 12pt; font-family: monospace; color: #aaaaaa; background-color a { color:#eeeeee; text-decoration: none; } a:hover { text-decoration: underline; } * { font-size: 12pt; font-size: 1em; } +.LineNr { color: #444444; } .Constant { color: #00a0a0; } -.Comment { color: #9090ff; } -.Comment a { color:#0000ee; text-decoration:underline; } .Delimiter { color: #800080; } -.LineNr { color: #444444; } .Identifier { color: #c0a020; } .Normal { color: #aaaaaa; background-color: #080808; padding-bottom: 1px; } +.Comment { color: #9090ff; } +.Comment a { color:#0000ee; text-decoration:underline; } .cSpecial { color: #008000; } --> @@ -350,7 +350,7 @@ if ('onhashchange' in window) { 291 } 292 293 if (line_exists_anywhere(label, contents)) { -294 cerr << "\nF - " << FUNCTION << "(" << FILE << ":" << LINE << "): line [" << label << ": " << contents << "] out of order in trace:\n"; +294 cerr << "\nF - " << FUNCTION << "(" << FILE << ":" << LINE << "): line [" << label << ": " << contents << "] out of order in trace:\n"; 295 DUMP(""); 296 } 297 else { @@ -386,12 +386,12 @@ if ('onhashchange' in window) { 327 return trace_count(label, ""); 328 } 329 -330 int trace_count(string label, string line) { +330 int trace_count(string label, string line) { 331 if (!Trace_stream) return 0; 332 long result = 0; 333 for (vector<trace_line>::iterator p = Trace_stream->past_lines.begin(); p != Trace_stream->past_lines.end(); ++p) { 334 if (label == p->label) { -335 if (line == "" || trim(line) == trim(p->contents)) +335 if (line == "" || trim(line) == trim(p->contents)) 336 ++result; 337 } 338 } @@ -410,14 +410,14 @@ if ('onhashchange' in window) { 351 return result; 352 } 353 -354 bool trace_doesnt_contain(string label, string line) { -355 return trace_count(label, line) == 0; +354 bool trace_doesnt_contain(string label, string line) { +355 return trace_count(label, line) == 0; 356 } 357 358 bool trace_doesnt_contain(string expected) { 359 vector<string> tmp = split_first(expected, ": "); 360 if (SIZE(tmp) == 1) { -361 raise << expected << ": missing label or contents in trace line\n" << end(); +361 raise << expected << ": missing label or contents in trace line\n" << end(); 362 assert(false); 363 } 364 return trace_doesnt_contain(tmp.at(0), tmp.at(1)); -- cgit 1.4.1-2-gfad0