Pārlūkot izejas kodu

Remove unreachable code

master
Dylan Baker 5 gadus atpakaļ
vecāks
revīzija
eb2f77c2c0
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0
    2
      src/lexer.ts

+ 0
- 2
src/lexer.ts Parādīt failu

@@ -120,8 +120,6 @@ export default class Lexer {
120 120
       }
121 121
       return this.token(TokenTypes.LITERAL, literal);
122 122
     }
123
-
124
-    return this.error(`Unexpected character ${c}`);
125 123
   }
126 124
 
127 125
   private token(type: TokenTypes, value: string): Token {

Notiek ielāde…
Atcelt
Saglabāt