dlang.org
dlang.org copied to clipboard
spec/lex.dd: Specify DelimitedString mandatory line breaks in grammar
This implements a suggestion from a previous PR: https://github.com/dlang/dlang.org/pull/3033#discussion_r663481518
We can't describe (within the grammar) that Delimiter
and MatchingDelimiter
must match, nor that they can't appear within the line, but this brings us a iota closer towards accuracy.
Thanks for your pull request, @CyberShadow!
Bugzilla references
Your PR doesn't reference any Bugzilla issue.
If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.
We can't describe (within the grammar) that
Delimiter
andMatchingDelimiter
must match, nor that they can't appear within the line, but this brings us a iota closer towards accuracy.
We also might need to figure out how to exclude delimiter characters (newline in this case) from WysiwygCharacter
@CyberShadow please rebase.