C2G strings can be empty
This commit is contained in:
1 parent
16f11f3a9b
commit
189ab96e3c
1 file changed
+1
-1
+1
-1
@@ -1487,7 +1487,7 @@ const TOKENIZE_RX = RegExp(
|
|||||||
// 2: Comments are preceded by ; or // for some reason and run to the end of the line
|
// 2: Comments are preceded by ; or // for some reason and run to the end of the line
|
||||||
'|(?:;|//)(.*)' +
|
'|(?:;|//)(.*)' +
|
||||||
// 3: Strings are double-quoted (only!) and contain no escapes
|
// 3: Strings are double-quoted (only!) and contain no escapes
|
||||||
'|"([^"]+?)"' +
|
'|"([^"]*?)"' +
|
||||||
// 4: Labels are indicated by a #, including when used with 'goto'
|
// 4: Labels are indicated by a #, including when used with 'goto'
|
||||||
// (the exact set of allowed characters is unclear and i'm fudging it here)
|
// (the exact set of allowed characters is unclear and i'm fudging it here)
|
||||||
'|#(\\w+)' +
|
'|#(\\w+)' +
|
||||||
|
|||||||
Reference in new issue
Block a user