lang: funky basic error reporting stuff

This commit is contained in:
Schrottkatze 2024-04-03 17:00:20 +02:00
parent ae60db7721
commit 84448af714
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
8 changed files with 122 additions and 18 deletions

View file

@ -39,7 +39,7 @@ fn test_parse_node_with_params() {
}
fn test_parse_multiple_top_level_complex() {
const INPUT: &str = r#"def main = meow
const INPUT: &str = r"def main = meow
| uwu
[ foo: @bar
, hello: world @| test [ more: params ] | yay
@ -52,7 +52,7 @@ def test = meow
[ hello: $foo
, world: @bar
];
"#;
";
assert_eq!(
parse(INPUT).unwrap(),
File {