diff options
author | Ben Bridle <ben@derelict.engineering> | 2024-11-01 07:24:31 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2024-11-01 07:24:31 +1300 |
commit | fe710b107c5e9902a01ad3e5405b7d9da6ee9844 (patch) | |
tree | 4eade1100d2c338bea9903ac4058f5a779124c96 /src/translators/syntactic_parser.rs | |
parent | 8d9c19cdc6c252eb3b833b6808a7a8f1e0d173a9 (diff) | |
download | bedrock-asm-fe710b107c5e9902a01ad3e5405b7d9da6ee9844.zip |
Don't merge empty source files
When a library contains only macro definitions, the definitions will
be kept in the .head.brc file and the main .brc file will be empty. To
prevent from cluttering the merged source file with path comments for
empty files, the contents of the file are first checked, and if the
file contains only whitespace it will not be merged.
Diffstat (limited to 'src/translators/syntactic_parser.rs')
0 files changed, 0 insertions, 0 deletions