File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ fn (p Parser) emit_error(msg string) string {
62
62
}
63
63
column := util.imax (0 , cur.pos - pp + cur.len - 1 )
64
64
line := cur.line_nr
65
- return '[jisoni ] $msg ($line :$column )'
65
+ return '[json ] $msg ($line :$column )'
66
66
}
67
67
68
68
fn new_parser (srce string , convert_type bool ) Parser {
@@ -291,7 +291,7 @@ fn (mut p Parser) decode_number() ?Any {
291
291
}
292
292
293
293
if tl.starts_with ('.' ) {
294
- return error ('lecimals must start with a digit followed by a dot.' )
294
+ return error ('decimals must start with a digit followed by a dot.' )
295
295
}
296
296
297
297
if tl.ends_with ('+' ) || tl.ends_with ('-' ) {
@@ -318,7 +318,7 @@ fn (mut p Parser) decode_number() ?Any {
318
318
return if is_fl {
319
319
Any (tl.f64 ())
320
320
} else {
321
- Any (tl.int ())
321
+ Any (tl.i64 ())
322
322
}
323
323
}
324
324
You can’t perform that action at this time.
0 commit comments