Change comment parsing
Description
This PR allows the usage of un-escaped #s in quoted strings:
- You do not have to double # in strings anymore. All # in text will appear as-is in the parsed code. This means the following is valid:
set {_a} to "#1: <#abcdef>test" # test
I also allowed both <##abcdef> and <#abcdef> to be valid hex colours to minimize breaking changes for users.
This was also a good chance to update all the tests to remove the # 1, # 2, etc now that the tests include line numbers.
NOTE: strings that are not quoted, like the description entry in command structure, or the command pattern itself, still require escaped strings. Only explicitly quoted strings will not need doubled #s.
Target Minecraft Versions: any Requirements: none Related Issues: #5181
Issues found with entries and commands, please hold off on reviews
Just marking this so that I remember to review it soon
one day my prince will come