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

Display stdin #5120

Merged
merged 3 commits into from
Apr 15, 2016
Merged

Display stdin #5120

merged 3 commits into from
Apr 15, 2016

Conversation

nadako
Copy link
Member

@nadako nadako commented Apr 15, 2016

This PR addresses #4651 by adding a new define -D display-stdin that will make parse_hook read the file specified in --display from standard input stream.

For the compilation server this introduces a (backward-compatible) protocol feature. To pass the stdin file to a comp server, one should send \x01 after the hxml parameters, then contents of a file, then the final \x00.

There are tests included in this PR and we also tested it in my languageserver experiment and it seems to work great.

@grepsuzette

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants