Skip to content

Commit f58798f

Browse files
committed
Revert "Parser fix based on espruino/Espruino#2529"
because of espruino/Espruino#2529 (comment) This reverts commit 05918f8.
1 parent 05918f8 commit f58798f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"delete","do","else","enum","eval","export","extends","field","final","finally","for","function","goto",
115115
"if","implements","import","in","instanceof","native","new","package","private","protected","public",
116116
"return","static","switch","synchronized","throw","throws","transient","try","typeof","var","volatile","while","with"];
117-
var allowedRegExChars = ['!','%','&','*','+','-','/','<','=','>','?','[','{','}','(',')',',',';',':']; // based on Espruino jslex.c (may not match spec 100%)
117+
var allowedRegExChars = ['!','%','&','*','+','-','/','<','=','>','?','[','{','}','(',',',';',':']; // based on Espruino jslex.c (may not match spec 100%)
118118
var ch;
119119
var idx = 0;
120120
var lineNumber = 1;

0 commit comments

Comments
 (0)