1
0
mirror of https://github.com/jamiebuilds/the-super-tiny-compiler.git synced 2024-10-27 20:34:08 +00:00

fixed regex /[a-z]i/ to /[a-z]/i

fixed 
This commit is contained in:
Sarbbottam Bandyopadhyay 2016-03-31 18:10:54 -07:00
parent 93572febb7
commit d8cafdb002

View File

@ -446,7 +446,7 @@ function tokenizer(input) {
// ^^^
// Name token
//
var LETTERS = /[a-z]i/;
var LETTERS = /[a-z]/i;
if (LETTERS.test(char)) {
var value = '';