Continuation partial statements (else, elif, ...) cannot be handled directly by the Python extractor
Laurent Daverio
Branch: Deleted repository:master
Deleted repository:master
Branch: zzzeek/mako:master
zzzeek/mako:master
Merged
#18 · Created  · Last updated
Description
The Python extractor plugin, used by linguaplugin.py, can only handle valid Python statements, so it's necessary to transform continuation statements such as else: and elif ...: into full Python statements so that the Python extractor can take them into account.
The Python extractor plugin, used by
linguaplugin.py
, can only handle valid Python statements, so it's necessary to transform continuation statements such aselse:
andelif ...:
into full Python statements so that the Python extractor can take them into account.A simple test case is provided.