diff options
-rw-r--r-- | listamsb.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -614,6 +614,7 @@ int need_space_between(int ext1, int ext2, unsigned char t1, unsigned char t2) { } if(!ext2) { + /* these always get a space before them, for readability. */ if(t2 == TOK_THEN) return 1; if(t2 == TOK_AND) return 1; if(t2 == TOK_OR) return 1; @@ -630,7 +631,7 @@ int need_space_between(int ext1, int ext2, unsigned char t1, unsigned char t2) { if(t2 == TOK_ELSE) return 1; } - if(isalnum(t1last)) { + if(t1 >= 0x80) { /* space not really required between OPEN/PRINT/CLOSE and #, but put one there for neatness. */ if(t2first == '#') return 1; |