summaryrefslogtreecommitdiff
path: root/scripts/count_token_references.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/count_token_references.py')
-rwxr-xr-xscripts/count_token_references.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/count_token_references.py b/scripts/count_token_references.py
index 85fcdbe3..e235cc40 100755
--- a/scripts/count_token_references.py
+++ b/scripts/count_token_references.py
@@ -32,8 +32,8 @@ be used to find typos in token names, as those tokens are only used by one lexer
.. option:: -s, --subtokens
When ``--subtoken`` is given each token is also counted for each of its
- parent tokens. I.e. if we have 10 occurences of the token
- ``Token.Literal.Number.Integer`` and 10 occurences of the token
+ parent tokens. I.e. if we have 10 occurrences of the token
+ ``Token.Literal.Number.Integer`` and 10 occurrences of the token
``Token.Literal.Number.Hex`` but none for ``Token.Literal.Number``, with
``--subtoken`` ``Token.Literal.Number`` would be counted as having
20 references.