-
-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change comment parsing #6583
Change comment parsing #6583
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it'd be appropriate to also have a regression test for the related issues? I think it's covered anyway but more tests make me a happy bunny.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic tests, a real 10/10.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful ⚡
This comment was marked as outdated.
This comment was marked as outdated.
b4f48cc
to
c7fe4be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just marking this so that I remember to review it soon
one day my prince will come |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work
Description
This PR allows the usage of un-escaped #s in quoted strings:
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