diff --git a/src/syntax.c b/src/syntax.c index 8c058ca4..ec746482 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -197,7 +197,7 @@ SYNTAX_STATUS syntax_compile(void) { if (syntax_io.out[syntax_io.out_cnt].command >= SYN_AUX_OUTPUT) { if (syntax_io.out[syntax_io.out_cnt].has_bits == false) { - printf("Error: missing IO number for command %c at position %d. Try %c.0\r\n", c, current_position); + printf("Error: missing IO number for command %c at position %d. Try %c.0\r\n", c, current_position, c); return SSTATUS_ERROR; }