Skip to content

Commit

Permalink
Merge pull request #2794 from dawedawe/improve_directives_doc_a_little
Browse files Browse the repository at this point in the history
improve docs of 'Formatting Conditional Compilation Directives' a tiny bit
  • Loading branch information
dawedawe authored Mar 17, 2023
2 parents 220eb74 + 2087ad7 commit 25d681e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ let a =

Once every tree is formatted, we chop each file into fragments.
A fragment is everything between a conditional directive `#if | #else | #endif` or an actual directive.
This means fragments can also be empty strings.
Each result should have the same amount of fragments before we can merge them together.
If this is not the case, it means that somewhere a trivia was not properly restored.

Expand Down

0 comments on commit 25d681e

Please sign in to comment.