semgrep / pfff

pfff is mainly an OCaml API to write static analysis, dynamic analysis, code visualizations, code navigations, or style-preserving source-to-source transformations such as refactorings on source code.
https://semgrep.dev
Other
186 stars 29 forks source link

Scala: parse unicode characters in identifiers #490

Closed mmcqd closed 2 years ago

mmcqd commented 2 years ago

Details in: https://github.com/returntocorp/semgrep/pull/4212

Test plan: make test (see added test)

Security

linear[bot] commented 2 years ago
PA-652 Lex unicode characters

Scala supports unicode identifiers, but the lexer does not handle these

aryx commented 2 years ago

very nice, didn't know about # either.