Explorar el Código

Remove unreachable code

master
Dylan Baker hace 5 años
padre
commit
eb2f77c2c0
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0
    2
      src/lexer.ts

+ 0
- 2
src/lexer.ts Ver fichero

@@ -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 {

Loading…
Cancelar
Guardar