MRI scripts have two comment chars, * and ;, but only the latter was supported before.
Also allow leading spaces before comment chars (and before any command string), and allow comments after a command.
Differential D51338
[llvm-ar] Support * as comment char in MRI scripts mstorsjo on Aug 28 2018, 12:40 AM. Authored by
Details MRI scripts have two comment chars, * and ;, but only the latter was supported before. Also allow leading spaces before comment chars (and before any command string), and allow comments after a command.
Diff Detail Event Timeline
Comment Actions Handle the comment char appearing anywhere in a command line - by discarding anything after the comment char. Comment Actions Avoided needless use of std::tie, passing SkipBlanks = false as we handle that skipping locally anyway now.
|
Don't pass /*SkipBlanks*/ true, ';' here because you're already handling them below.