about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--040brace.cc2
-rw-r--r--050scenario.cc3
-rw-r--r--054dilated_reagent.cc4
-rw-r--r--059shape_shifting_recipe.cc2
-rw-r--r--077hash.cc2
5 files changed, 6 insertions, 7 deletions
diff --git a/040brace.cc b/040brace.cc
index 6458e8ef..735cdab3 100644
--- a/040brace.cc
+++ b/040brace.cc
@@ -61,7 +61,7 @@ void transform_braces(const recipe_ordinal r) {
     }
     if (inst.label == "}") {
       if (open_braces.empty()) {
-        raise << "missing '{' in " << get(Recipe, r).name << '\n';
+        raise << "missing '{' in " << get(Recipe, r).name << '\n' << end();
         return;
       }
       open_braces.pop();
diff --git a/050scenario.cc b/050scenario.cc
index b02fe95e..506bced6 100644
--- a/050scenario.cc
+++ b/050scenario.cc
@@ -615,9 +615,8 @@ case CHECK_TRACE_COUNT_FOR_LABEL: {
   if (count != expected_count) {
     if (Current_scenario && !Scenario_testing_scenario) {
       // genuine test in a mu file
-      raise_error << "\nF - " << Current_scenario->name << ": " << maybe(current_recipe_name()) << "expected " << expected_count << " lines in trace with label " << label << " in trace: ";
+      raise_error << "\nF - " << Current_scenario->name << ": " << maybe(current_recipe_name()) << "expected " << expected_count << " lines in trace with label " << label << " in trace: " << end();
       DUMP(label);
-      raise_error;
     }
     else {
       // just testing scenario support
diff --git a/054dilated_reagent.cc b/054dilated_reagent.cc
index f7b772a3..4ea6abc1 100644
--- a/054dilated_reagent.cc
+++ b/054dilated_reagent.cc
@@ -99,11 +99,11 @@ if (s.at(0) == '{') {
   in.get();  // skip '{'
   name = slurp_key(in);
   if (name.empty()) {
-    raise_error << "invalid reagent " << s << " without a name\n";
+    raise_error << "invalid reagent " << s << " without a name\n" << end();
     return;
   }
   if (name == "}") {
-    raise_error << "invalid empty reagent " << s << '\n';
+    raise_error << "invalid empty reagent " << s << '\n' << end();
     return;
   }
   {
diff --git a/059shape_shifting_recipe.cc b/059shape_shifting_recipe.cc
index ba48226c..6e65e344 100644
--- a/059shape_shifting_recipe.cc
+++ b/059shape_shifting_recipe.cc
@@ -285,7 +285,7 @@ void compute_type_names(recipe& variant) {
 void save_or_deduce_type_name(reagent& x, map<string, type_tree*>& type, const recipe& variant) {
   trace(9994, "transform") << "    checking " << to_string(x) << ": " << names_to_string(x.type) << end();
   if (!x.type && contains_key(type, x.name)) {
-    x.type = new type_tree(*get(type, x.name));
+    x.type = new type_tree(*get(type, x.name)); //TODO
     trace(9994, "transform") << "    deducing type to " << names_to_string(x.type) << end();
     return;
   }
diff --git a/077hash.cc b/077hash.cc
index 8c72779d..d483b235 100644
--- a/077hash.cc
+++ b/077hash.cc
@@ -122,7 +122,7 @@ size_t hash_mu_exclusive_container(size_t h, const reagent& r) {
   reagent variant = variant_type(r, tag);
   // todo: move this warning to container definition time
   if (has_property(variant, "ignore-for-hash"))
-    raise << get(Type, r.type->value).name << ": /ignore-for-hash won't work in exclusive containers\n";
+    raise << get(Type, r.type->value).name << ": /ignore-for-hash won't work in exclusive containers\n" << end();
   variant.set_value(r.value + /*skip tag*/1);
   h = hash(h, variant);
   return h;
'n284' href='#n284'>284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496