We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9e2bae commit 9ed6d84Copy full SHA for 9ed6d84
1 file changed
src/node_file.cc
@@ -878,10 +878,8 @@ static void InternalModuleReadJSON(const FunctionCallbackInfo<Value>& args) {
878
879
while (p < pe) {
880
char c = *p++;
881
- if (c == '"') goto quote; // Keeps code flat and inner loop small.
882
if (c == '\\' && p < pe && *p == '"') p++;
883
- continue;
884
-quote:
+ if (c != '"') continue;
885
*ppos++ = p;
886
if (ppos < &pos[2]) continue;
887
ppos = &pos[0];
0 commit comments