Skip to content

Commit

Permalink
Extend letter parser token definition. (#2270)
Browse files Browse the repository at this point in the history
We now include a bunch more of the common european special characters.

This is fix 1 of 2 for: #2269
  • Loading branch information
ml86 authored Feb 15, 2023
1 parent bcf2799 commit 575eb75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion joern-cli/frontends/pysrc2cpg/pythonGrammar.jj
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ TOKEN: {

TOKEN: {
<NAME: <LETTER> (<LETTER> | <DIGIT>)*>
| <LETTER: ["a" - "z", "A" - "Z", "_"] >
| <LETTER: ["a" - "z", "A" - "Z", "_", "À" - "Ö", "Ø" - "ö", "ø" - "ÿ"] >
}

SKIP: {
Expand Down

0 comments on commit 575eb75

Please sign in to comment.