Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix list parsing logic and add error messages #7863

Merged
merged 6 commits into from
Aug 27, 2019

Conversation

Rastaban
Copy link
Contributor

Fixes bugs in the list parsing that caused multi-line Build-Depends to fail and caused commas in feature lists to fail.

@Rastaban Rastaban added the info:internal This PR or Issue was filed by the vcpkg team. label Aug 23, 2019
@Rastaban Rastaban self-assigned this Aug 23, 2019

if (element_begin == element_end)
{
System::print2( System::Color::warning,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For testability, we should avoid printing directly in this function and instead return some sort of error-containing return value.

@Rastaban Rastaban merged commit 0eb7305 into microsoft:master Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants