The standard Python configparser library supports this, per the documentation:
"In config parsers, values can span multiple lines as long as they are indented more than the key that holds them."
ref. https://docs.python.org/3/library/configparser.html
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/LLVMBuild.txt | ||
---|---|---|
19 ↗ | (On Diff #25698) | Can this particular one be done as one backend per line? That would help OOT backends with merge conflicts going forward. |
Comment Actions
Old Python libraries (going back to 2.4.4, possibly older) can parse this line-breaks correctly.
lib/Target/LLVMBuild.txt | ||
---|---|---|
19 ↗ | (On Diff #25698) | good idea! |
Comment Actions
I just noticed they're all alphabetized... maybe it makes sense to do all three in the one-per-line style? We're not hurting for line-count in these files.
Either way, LGTM.
Comment Actions
tools/LLVMBuild was not quite alphabetized. I'll check this in as-is, and if the builders are happy, go and re-touch all the things.