Revert "switch back to source-span for now"

This reverts commit 9310fcde66.
This commit is contained in:
Robin Appelman 2022-01-19 15:43:23 +01:00
commit e5d94364cc
4 changed files with 86 additions and 129 deletions

View file

@ -1,7 +1,7 @@
use main_error::MainError;
use miette::DiagnosticResult;
use php_literal_parser::{from_str, Value};
fn main() -> Result<(), MainError> {
fn main() -> DiagnosticResult<()> {
let source = r###"
array (
"double" => "quote",