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

@ -7,12 +7,12 @@ export Test2 := Rectangle {
TabWidget {
Tab {
visible: false;
// ^error{The property 'visible' cannot be set for Tabs inside a TabWidget}
// ^error{The property 'visible' cannot be set for Tabs inside a TabWidget}
Rectangle { }
}
f := Tab {
height: 50%;
// ^error{The property 'height' cannot be set for Tabs inside a TabWidget}
// ^error{The property 'height' cannot be set for Tabs inside a TabWidget}
}
Tab {
Rectangle { }