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 {
6262 }
6363 column := util.imax (0 , cur.pos - pp + cur.len - 1 )
6464 line := cur.line_nr
65- return '[jisoni ] $msg ($line :$column )'
65+ return '[json ] $msg ($line :$column )'
6666}
6767
6868fn new_parser (srce string , convert_type bool ) Parser {
@@ -291,7 +291,7 @@ fn (mut p Parser) decode_number() ?Any {
291291 }
292292
293293 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.' )
295295 }
296296
297297 if tl.ends_with ('+' ) || tl.ends_with ('-' ) {
@@ -318,7 +318,7 @@ fn (mut p Parser) decode_number() ?Any {
318318 return if is_fl {
319319 Any (tl.f64 ())
320320 } else {
321- Any (tl.int ())
321+ Any (tl.i64 ())
322322 }
323323 }
324324
You can’t perform that action at this time.
0 commit comments