diff options
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3122,7 +3122,7 @@ static int assem_emit(struct assem *const self, FILE *const stream) } if (stmt->comment_token) { const struct token token = lex->tokbuf[stmt->comment_token]; - fprintf(stream, " %.*s", (int)token.length, lex->input + token.offset); + fprintf(stream, " |%.*s", (int)token.length - 1, lex->input + token.offset + 1); } fprintf(stream, "\n"); } |