diff options
author | ubq323 <ubq323@ubq323.website> | 2024-08-17 22:33:25 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-08-17 22:33:29 +0100 |
commit | 91d59f1ba812c7df783e459c8af8d1c1be1d27f4 (patch) | |
tree | 9460dde9ce3ee8f600cee2cbb3a935dfe20b0f95 | |
parent | 494aa09abf2a27ba8138f17c3dad94774153f0b5 (diff) |
add \e for escape
-rw-r--r-- | read.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -106,6 +106,7 @@ static Val string(Reader *R) { case '\\': append('\\'); break; case 't': append('\t'); break; case 'n': append('\n'); break; + case 'e': append('\x1b'); break; case '"': append('"'); break; } next(R); |