avoid throw Void
This commit is contained in:
+2
-2
@@ -858,7 +858,7 @@ class Parser {
|
||||
case "'".code, '"'.code, '\\'.code: b.writeByte(c);
|
||||
case '/'.code: if( allowJSON ) b.writeByte(c) else invalidChar(c);
|
||||
case "u".code:
|
||||
if( !allowJSON ) throw invalidChar(c);
|
||||
if( !allowJSON ) invalidChar(c);
|
||||
var code = null;
|
||||
try {
|
||||
incPos();
|
||||
@@ -1091,7 +1091,7 @@ class Parser {
|
||||
}
|
||||
char = readChar();
|
||||
}
|
||||
return null;
|
||||
return null;
|
||||
}
|
||||
|
||||
function tokenComment( op : String, char : Int ) {
|
||||
|
||||
Reference in New Issue
Block a user