diff --git a/examples/test.modal b/examples/test.modal index 304459e..25b461d 100644 --- a/examples/test.modal +++ b/examples/test.modal @@ -1,3 +1,6 @@ -<> ((explode ?*)) (?*) +<> (explode ?*) (?*) -(explode hello) \ No newline at end of file + +<> (?x pin) (done: ?x) + +(explode hello) pin \ No newline at end of file diff --git a/src/modal.c b/src/modal.c index 68c4366..1b50249 100644 --- a/src/modal.c +++ b/src/modal.c @@ -168,6 +168,7 @@ static int rewrite(char *incoming) { char c, *p = direction ? bank_b : bank_a; + while(*p == 0xa || *p == ' ') p++; while((c = *p)) { int i; if(p[0] == '<' && p[1] == '>') {