Gilles Peskine 152de23518 Lift some code out of parse_identifiers
Make parse_identifiers less complex. Pylint was complaining that it had too
many local variables, and it had a point.

* Lift the constants identifier_regex and exclusion_lines to class
  constants (renamed to uppercase because they're constants).
* Lift the per-file loop into a new function parse_identifiers_in_file.

No intended behavior change.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-11-25 20:51:07 +01:00
..
2021-10-25 13:16:04 +01:00
2021-09-03 13:19:57 +01:00
2021-10-27 11:45:57 +02:00
2021-11-24 01:54:50 +00:00