diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-07-30 19:13:57 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-07-30 19:13:57 -0700 |
commit | e140ae63821e7d95e150d94d3ab2c24ccaa81722 (patch) | |
tree | cc940f86565b7bdc674802b0e467abee7dd8d675 /020run.cc | |
parent | fc4a98dca030b5aad6ae958d92a9f51862f89dc4 (diff) | |
download | mu-e140ae63821e7d95e150d94d3ab2c24ccaa81722.tar.gz |
1901
Don't swamp edit.mu with warnings when something writes to address 0. Warn once, then keep going.
Diffstat (limited to '020run.cc')
-rw-r--r-- | 020run.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/020run.cc b/020run.cc index be144858..a4b75db6 100644 --- a/020run.cc +++ b/020run.cc @@ -63,7 +63,7 @@ void run_current_routine() trace(Initial_callstack_depth+Callstack_depth, "run") << current_instruction().to_string() << end(); if (Memory[0] != 0) { raise << "something wrote to location 0; this should never happen\n" << end(); - break; + Memory[0] = 0; } // Read all ingredients from memory. // Each ingredient loads a vector of values rather than a single value; mu |