fix ascii table

There are 4 ascii code attributes on the misplace line.
The first of these errors causes `#format %p' to not chomp off the CR correctly.

This fix has been verified to resolve the issue.
This commit is contained in:
dzp 2022-08-19 21:41:31 +08:00
parent 503f80e9ec
commit 65da51e110
No known key found for this signature in database
GPG key ID: 83C7623FC0BF721D

View file

@ -329,6 +329,7 @@ char character_table[256] =
0,
0,
0,
CHAR_FLAG_SPACE, // \t
CHAR_FLAG_SPACE, // \n
CHAR_FLAG_SPACE, // \v
@ -336,7 +337,6 @@ char character_table[256] =
CHAR_FLAG_SPACE, // \r
0,
0,
0,
0,
0,
@ -423,8 +423,8 @@ char character_table[256] =
CHAR_FLAG_PRINT|CHAR_FLAG_VAR|CHAR_FLAG_CSI|CHAR_FLAG_ALPHA,
CHAR_FLAG_PRINT|CHAR_FLAG_VAR|CHAR_FLAG_CSI|CHAR_FLAG_ALPHA, // 90 Z
CHAR_FLAG_PRINT,
CHAR_FLAG_PRINT|CHAR_FLAG_CSI, // 93 ]
CHAR_FLAG_PRINT,
CHAR_FLAG_PRINT|CHAR_FLAG_CSI, // 93 ]
CHAR_FLAG_PRINT,
CHAR_FLAG_PRINT|CHAR_FLAG_VAR, // 95 _