mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-06-22 23:19:25 -04:00
The decompiler does not insert newlines and so relies on the formatter to format its output. The previous commit however broke translator comments, as they are now assumed to be inline. Therefore, make sure the decompiler forces a newline before a translator comment. We could special case such a comment in the formatter, but this might be difficult if #202 gets resolved, whereas in the decompiler we already know exactly when a comment is a translator comment. |
||
---|---|---|
.. | ||
language | ||
outputs | ||
__init__.py | ||
annotations.py | ||
ast_utils.py | ||
completions.py | ||
completions_utils.py | ||
decompiler.py | ||
errors.py | ||
formatter.py | ||
gir.py | ||
interactive_port.py | ||
lsp.py | ||
lsp_utils.py | ||
main.py | ||
parse_tree.py | ||
parser.py | ||
tokenizer.py | ||
typelib.py | ||
utils.py | ||
xml_reader.py |