Skip to content

Commit

Permalink
Use let instead of var
Browse files Browse the repository at this point in the history
  • Loading branch information
tysonmote committed Sep 19, 2019
1 parent cb038e7 commit 8d8268d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export class Lexer {
private lexIdent(previous: string): Token {
let str = ''
while (isIdent(this.peek())) {
var { char } = this.next()
let { char } = this.next()

// Allow escaping of any character except EOS
if (char == '\\') {
Expand Down

0 comments on commit 8d8268d

Please sign in to comment.