diff --git a/src-tauri/src/parser.rs b/src-tauri/src/parser.rs index f5d6487..a177c15 100644 --- a/src-tauri/src/parser.rs +++ b/src-tauri/src/parser.rs @@ -158,7 +158,7 @@ fn skip_value<'source>( lex: &mut Lexer<'source, Token<'source>>, ) -> anyhow::Result> { let mut token = lex.next(); - let mut depth: u8 = 0; + let mut depth: u64 = 0; while token != None { match token { Some(Ok(Token::Text(s))) | Some(Ok(Token::String(s))) => {