Added escape sequences

This commit is contained in:
2024-07-31 17:50:31 +02:00
parent cdbfa744b7
commit c8824e699a
12 changed files with 87 additions and 7 deletions

View File

@ -76,7 +76,7 @@ func Tokenize(buffer []byte) List {
i++
for i < Position(len(buffer)) {
if buffer[i] == limiter {
if buffer[i] == limiter && (buffer[i-1] != '\\' || buffer[i-2] == '\\') {
end = i + 1
i++
break