mirror of
https://codeberg.org/icewind/php-literal-parser.git
synced 2026-06-03 10:34:08 +02:00
error with source printing
This commit is contained in:
parent
2352ed9fd1
commit
bf1edefb25
4 changed files with 21 additions and 17 deletions
|
|
@ -19,6 +19,6 @@ fn main() {
|
|||
|
||||
match parse(source) {
|
||||
Ok(result) => print!("{:#?}", result),
|
||||
Err(err) => eprint!("{}", err),
|
||||
Err(err) => eprint!("{}", err.with_source(source)),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue