Skip to content

Commit

Permalink
Added tab escape sequence. (#3170)
Browse files Browse the repository at this point in the history
  • Loading branch information
cemeceme committed May 17, 2024
1 parent 4036d0d commit 82b3e1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/parse/asp/lexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@ func (l *lex) consumeString(quote byte, pos Position, multiline, raw, fString bo
if escaped {
if next == 'n' {
value = append(value, '\n')
} else if next == 't' {
value = append(value, '\t')
} else if next == '\n' && multiline {
l.line++
l.col = 0
Expand Down

0 comments on commit 82b3e1e

Please sign in to comment.