diff options
author | Matthäus G. Chajdas <dev@anteru.net> | 2022-12-31 16:29:56 +0100 |
---|---|---|
committer | Matthäus G. Chajdas <dev@anteru.net> | 2022-12-31 16:38:28 +0100 |
commit | dd52102c38ebe78cd57748e09f38929fd283ad04 (patch) | |
tree | 4483b20252f0955d14c843927763fc62be2a7d9c /pygments/lexers/diff.py | |
parent | 92b77b268178721b69531113afd933d1900984d3 (diff) | |
download | pygments-git-dd52102c38ebe78cd57748e09f38929fd283ad04.tar.gz |
Improve the Smithy metadata matcher.
Previously, metadata foo bar baz = 23 was accepted, but according to
the definition https://smithy.io/2.0/spec/idl.html#grammar-token-smithy-MetadataSection
it should be "metadata"<whitespace>Identifier/String<optional whitespace>.
Diffstat (limited to 'pygments/lexers/diff.py')
0 files changed, 0 insertions, 0 deletions