Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix brackets #4632
This is a double-whammy to remove some of the annoyances from brace/bracket-expansion (the code calls it "brackets", I've only ever heard "braces" elsewhere).
It changes a literal
It also changes it so successive commas in braces are seen as successive empty items, rather than alternating between an empty item and a literal ",". So
Both of these are in the "theoretically backwards-incompatible, but unlikely to break stuff" category. The former especially will only break code that does useless stuff - currently a
referenced this pull request
Jan 2, 2018
Yes. Which is why I'm oblivious as to why the current behavior was a thing in the first place, and why this is rather unlikely to cause any issues in practice.
No. That would require touching the parser/tokenizer (since expand.cpp receives