Skip to content

Commit 0593c47

Browse files
committed
comments in php_json_scanner.h
1 parent a0764f3 commit 0593c47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/json/php_json_scanner.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ typedef struct _php_json_scanner {
2929
php_json_ctype *marker; /* marker position for backtracking */
3030
php_json_ctype *ctxmarker; /* marker position for context backtracking */
3131
php_json_ctype *str_start; /* start position of the string */
32-
php_json_ctype *input_start; /* start position of the string */
32+
php_json_ctype *input_start; /* start position of the string */
3333
php_json_ctype *pstr; /* string pointer for escapes conversion */
3434
zval value; /* value */
3535
int str_esc; /* number of extra characters for escaping */
3636
int state; /* condition state */
3737
int options; /* options */
3838
php_json_error_code errcode; /* error type if there is an error */
39-
size_t errpos;
39+
size_t errpos; /* holds the aprox character number when an error occurs */
4040
int utf8_invalid; /* whether utf8 is invalid */
4141
int utf8_invalid_count; /* number of extra character for invalid utf8 */
4242
} php_json_scanner;

0 commit comments

Comments
 (0)