dart-lang / dart-syntax-highlight

Tools and documentation for how Dart code is formatted
BSD 3-Clause "New" or "Revised" License
22 stars 11 forks source link

Remove useless `"name"` #53

Closed RedCMD closed 10 months ago

RedCMD commented 10 months ago

When inside a "patterns" array "name" needs to be paired with "match" or "begin" currently it is useless with "include" https://github.com/dart-lang/dart-syntax-highlight/blob/d4ba2801445e713de55949ded4afae313b7eab4d/grammars/dart.json#L416

This PR will not affect the final grammar in any way

I assume its a remnant of a copy&paste from a few lines down https://github.com/dart-lang/dart-syntax-highlight/blob/d4ba2801445e713de55949ded4afae313b7eab4d/grammars/dart.json#L422

google-cla[bot] commented 10 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.