You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I want to use pest to analyze syntax issue of files (I used to deal with it using Antlr in Java lang),
but I can't get right position.
To Reproduce
use pest::Parser;
use pest_grammars::json::*;
const DATA: &str = r#"{"name": "hello, the\' world"}"#;
fn main() {
let ret = JsonParser::parse(Rule::json, DATA);
println!("{:?}", ret);
}
Expected behavior
{"name": "hello, the\' world"}
^--- issue position
Current behavior
{"name": "hello, the\' world"}
^--- issue position
The text was updated successfully, but these errors were encountered:
Describe the bug
I want to use pest to analyze syntax issue of files (I used to deal with it using Antlr in Java lang),
but I can't get right position.
To Reproduce
Expected behavior
Current behavior
The text was updated successfully, but these errors were encountered: