]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/debug.cpp
VM: debug macros FACTOR_PRINT and FACTOR_PRINT_MARK to make better debug
[factor.git] / vm / debug.cpp
index 6a7f332c70ab579b69a08b507962922f9acbaea6..16cb7c26de1868d2fe079542c516d5f5c30fb5ca 100644 (file)
@@ -4,6 +4,8 @@ using namespace std;
 
 namespace factor {
 
+bool factor_print_p = true;
+
 ostream& operator<<(ostream& out, const string* str) {
   for (cell i = 0; i < string_capacity(str); i++)
     out << (char)str->data()[i];