swift
0d4cf76e - [SyntaxParse] Renew parseListSyntax()

Commit
6 years ago
[SyntaxParse] Renew parseListSyntax() Optimize for libSyntax parsing. The new 'parseListSyntax()' receives a vector storage, passes element builder to the callback for populating the elements, then automatically parses trailing commas. Also, it performs automatic recovery if the element has an error (e.g. Skip until ',' or ')').
Author
Committer
Parents
Loading