File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -389,7 +389,9 @@ private bool ReadToken ()
389389 public void Close ( )
390390 {
391391 if ( end_of_input )
392+ {
392393 return ;
394+ }
393395
394396 end_of_input = true ;
395397 end_of_json = true ;
@@ -405,7 +407,9 @@ public void Close ()
405407 public bool Read ( )
406408 {
407409 if ( end_of_input )
410+ {
408411 return false ;
412+ }
409413
410414 if ( end_of_json ) {
411415 end_of_json = false ;
@@ -424,7 +428,9 @@ public bool Read ()
424428 read_started = true ;
425429
426430 if ( ! ReadToken ( ) )
431+ {
427432 return false ;
433+ }
428434 }
429435
430436
@@ -433,7 +439,9 @@ public bool Read ()
433439 while ( true ) {
434440 if ( parser_return ) {
435441 if ( automaton_stack . Peek ( ) == ( int ) ParserToken . End )
442+ {
436443 end_of_json = true ;
444+ }
437445
438446 return true ;
439447 }
@@ -467,7 +475,9 @@ public bool Read ()
467475 }
468476
469477 if ( entry_symbols [ 0 ] == ( int ) ParserToken . Epsilon )
478+ {
470479 continue ;
480+ }
471481
472482 for ( int i = entry_symbols . Length - 1 ; i >= 0 ; i -- )
473483 automaton_stack . Push ( entry_symbols [ i ] ) ;
You can’t perform that action at this time.
0 commit comments