From 38994ef9a8e11f6d1d7f52ec03fb618568557843 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Sun, 23 Apr 2017 23:46:18 -0400 Subject: [PATCH] asoft-detoken: don't print trailing space on REM this makes the output of detoken match input of token --- asoft_basic-utils/asoft_detoken.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/asoft_basic-utils/asoft_detoken.c b/asoft_basic-utils/asoft_detoken.c index d5f02fd4..fc96a77d 100644 --- a/asoft_basic-utils/asoft_detoken.c +++ b/asoft_basic-utils/asoft_detoken.c @@ -97,11 +97,13 @@ int main(int argc, char **argv) { offset++; /* if > 0x80 it's a token */ if (ch1>=0x80) { + /* Leading space */ fputc(' ',stdout); for(i=0;i