mirror of
https://github.com/irmen/prog8.git
synced 2025-02-18 05:30:34 +00:00
recognise \t character (TAB) in string literals (note: only valid in iso encoding)
This commit is contained in:
parent
3a9919a377
commit
4bdf50145e
@ -58,6 +58,7 @@ fun String.unescape(): String {
|
|||||||
'\\' -> '\\'
|
'\\' -> '\\'
|
||||||
'n' -> '\n'
|
'n' -> '\n'
|
||||||
'r' -> '\r'
|
'r' -> '\r'
|
||||||
|
't' -> '\t'
|
||||||
'"' -> '"'
|
'"' -> '"'
|
||||||
'\'' -> '\''
|
'\'' -> '\''
|
||||||
'u' -> {
|
'u' -> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user