[webkit-changes] [WebKit/WebKit] cc9b0d: Match multiple feature flags in a single line

Don Olmstead noreply at github.com
Wed Nov 29 13:01:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cc9b0d88747e0d321660345a2d1235240e72d94a
      https://github.com/WebKit/WebKit/commit/cc9b0d88747e0d321660345a2d1235240e72d94a
  Author: Don Olmstead <don.olmstead at sony.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M Tools/Scripts/webkitpy/featuredefines/matcher.py
    M Tools/Scripts/webkitpy/featuredefines/matcher_unittest.py
    M Tools/Scripts/webkitpy/featuredefines/search.py

  Log Message:
  -----------
  Match multiple feature flags in a single line
https://bugs.webkit.org/show_bug.cgi?id=265488

Reviewed by Jonathan Bedard.

When searching through a line of source code use `finditer` instead of
`search` so multiple feature flags can be found on the same line.

Fix a typo while modifying the file.

* Tools/Scripts/webkitpy/featuredefines/matcher.py:
* Tools/Scripts/webkitpy/featuredefines/matcher_unittest.py:
* Tools/Scripts/webkitpy/featuredefines/search.py:

Canonical link: https://commits.webkit.org/271299@main




More information about the webkit-changes mailing list