compiler: Ignore leading whitespace when parsing

... and update all out test cases accordingly.
This commit is contained in:
Tobias Hunger 2023-04-26 14:43:06 +02:00 committed by Tobias Hunger
parent 1fbbdf83b2
commit bbdd6aeab7
49 changed files with 187 additions and 185 deletions

View file

@ -26,7 +26,7 @@ export SuperSimple := Rectangle {
// ^error{catch-all property is only allowed within transitions}
animate background, foo { duration: 100ms; }
// ^error{'foo' is not a property that can be animated}
// ^error{'foo' is not a property that can be animated}
text := Text{ animate x { duration: 1000ms; } }
animate text.x { duration: 100ms; }