In Issue #11, I wrote that the functionality to change the syntax of the OBJECT keyword family would not properly work with the Scripter class. This is because the braces would encompass a series of traits that are separated with semicolons, which is also the default end-line character. This means the script will try to run the lines such as file-name: addr/img1.png; as a command, when it's only a part of the command. This will cause broken behaviour.
To fix this, the script should treat all types of brackets (parenthesis (), brackets [], braces {}), and all quotes (single ', double ") as border items, where the contents are not matters to be disputed. The Scripter class shouldn't be allowed to manage the contents inside of the brackets, before the closing member.
In Issue #11, I wrote that the functionality to change the syntax of the OBJECT keyword family would not properly work with the Scripter class. This is because the braces would encompass a series of traits that are separated with semicolons, which is also the default end-line character. This means the script will try to run the lines such as
file-name: addr/img1.png;
as a command, when it's only a part of the command. This will cause broken behaviour.To fix this, the script should treat all types of brackets (parenthesis
()
, brackets[]
, braces{}
), and all quotes (single'
, double"
) as border items, where the contents are not matters to be disputed. The Scripter class shouldn't be allowed to manage the contents inside of the brackets, before the closing member.