Add print methods to instructions

This commit is contained in:
2019-10-09 22:46:17 -07:00
parent 007c89501b
commit c730e6a6f8
4 changed files with 104 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
#include <ostream>
#include "error.hpp"
void print_indent(int n, std::ostream& to) {
static void print_indent(int n, std::ostream& to) {
while(n--) to << " ";
}