blueprint-compiler/tests/formatting
Matthijs Velsink ed867269dd formatter: Also allow /*...*/ as inline comments
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.
2025-06-12 19:00:56 +02:00
..
comment_in.blp Formatter: Remove trailing whitespace from comments 2025-01-04 17:17:53 +00:00
comment_out.blp Formatter: Remove trailing whitespace from comments 2025-01-04 17:17:53 +00:00
correct1.blp formatter: Also allow /*...*/ as inline comments 2025-06-12 19:00:56 +02:00
in1.blp Add a formatter 2023-11-03 06:49:22 -05:00
in2.blp Add a formatter 2023-11-03 06:49:22 -05:00
lists_in.blp Formatter: Add trailing commas in lists 2025-01-04 16:29:15 +00:00
lists_out.blp Formatter: Add trailing commas in lists 2025-01-04 16:29:15 +00:00
out.blp Formatter: Add trailing commas in lists 2025-01-04 16:29:15 +00:00
string_in.blp Add a formatter 2023-11-03 06:49:22 -05:00
string_out.blp Add a formatter 2023-11-03 06:49:22 -05:00