mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-06-22 23:19:25 -04:00
Blueprint allows both `//` and `/*...*/` style comments, but if a project prefers only `/*...*/` comments, it is currently not possible to have these inline. Therefore, treat these comments equal if they occur inline. To make this easier to understand, we refactor the comment handling slightly to first handle single-line comment whitespace, and then handle newlines for both single-line and multi-line style comments. Adjust the test accordingly to make sure this works. |
||
---|---|---|
.. | ||
formatting | ||
sample_errors | ||
samples | ||
__init__.py | ||
fuzz.py | ||
fuzz.sh | ||
meson.build | ||
test_deprecations.py | ||
test_formatter.py | ||
test_samples.py | ||
test_tokenizer.py |