aboutsummaryrefslogtreecommitdiff
path: root/spec/lexer.go
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lexer.go')
-rw-r--r--spec/lexer.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/lexer.go b/spec/lexer.go
index d1f3ae7..03ba72b 100644
--- a/spec/lexer.go
+++ b/spec/lexer.go
@@ -261,18 +261,6 @@ func (l *lexer) lexAndSkipWSs() (*token, error) {
switch tok.KindID {
case KindIDCharSeq:
fmt.Fprint(&b, string(tok.Lexeme))
- case KindIDEscapedQuot:
- // Remove '\' character.
- fmt.Fprint(&b, `'`)
- case KindIDEscapedBackSlash:
- // Remove '\' character.
- fmt.Fprint(&b, `\`)
- case KindIDEscapeSymbol:
- return nil, &verr.SpecError{
- Cause: synErrIncompletedEscSeq,
- Row: tok.Row + 1,
- Col: tok.Col + 1,
- }
case KindIDStringLiteralClose:
str := b.String()
if str == "" {