Skip to content

Commit

Permalink
Slightly improve previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Feb 16, 2025
1 parent 2c21428 commit 2076b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ctypesgen/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def __call__(self, parser, namespace, values, option_string=None):
parser.add_argument(
"--optimize-lexer",
action="store_true",
help="Run the lexer in optimized mode by using a pre-compiled lextab file included in the sources. This allows to run ctypesgen in python's optimized mode, which discards docstrings (PLY relies on docstrings for lexer declarations). It may also improve performance, at the cost of disabling most error checking. If the lexer has been changed, re-generate lextab by deleting it and running ctypesgen with this option, in python's normal operating mode. See also chapter '4.13 Optimized mode' of the PLY manual.",
help="Run the lexer in optimized mode by using a pre-compiled lextab file included in the sources. This allows to run ctypesgen in python's optimized mode, which discards docstrings (PLY relies on docstrings for lexer declarations). It may also improve performance, at the cost of disabling most error checking. If the lexer has been changed, re-generate lextab.py by deleting it and running ctypesgen with this option, in python's normal operating mode. See also chapter '4.13 Optimized mode' of the PLY manual.",
)

# Processor options
Expand Down

0 comments on commit 2076b3b

Please sign in to comment.