diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-22 16:56:07 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-22 16:56:07 -0700 |
commit | 9a81d7460fdb16f4e77712e5381d9db8781f5ae6 (patch) | |
tree | 43b05169535fe33e65ecbf61f3fb3ada5f75ed52 /029tools.cc | |
parent | 22f4b76344b2d639cbfcaad56ed681670d436548 (diff) | |
download | mu-9a81d7460fdb16f4e77712e5381d9db8781f5ae6.tar.gz |
3561
Diffstat (limited to '029tools.cc')
-rw-r--r-- | 029tools.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/029tools.cc b/029tools.cc index 12a1fdea..ce0794c4 100644 --- a/029tools.cc +++ b/029tools.cc @@ -1,10 +1,10 @@ -//: Allow mu programs to log facts just like we've been doing in C++ so far. +//: Allow Mu programs to log facts just like we've been doing in C++ so far. :(scenario trace) def main [ - trace 1, [foo], [this is a trace in mu] + trace 1, [foo], [this is a trace in Mu] ] -+foo: this is a trace in mu ++foo: this is a trace in Mu :(before "End Primitive Recipe Declarations") TRACE, @@ -192,9 +192,9 @@ case _SAVE_TRACE: { :(scenario assert) % Hide_errors = true; // '%' lines insert arbitrary C code into tests before calling 'run' with the lines below. Must be immediately after :(scenario) line. def main [ - assert 0, [this is an assert in mu] + assert 0, [this is an assert in Mu] ] -+error: this is an assert in mu ++error: this is an assert in Mu :(before "End Primitive Recipe Declarations") ASSERT, @@ -337,7 +337,7 @@ case _LOG: { break; } -//: set a variable from within mu code +//: set a variable from within Mu code //: useful for selectively tracing or printing after some point :(before "End Globals") bool Foo = false; |