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

crlf 或者 lf 格式源生成的文件是完全相同的吧? #8

Open
tnie opened this issue Apr 8, 2018 · 0 comments
Open

crlf 或者 lf 格式源生成的文件是完全相同的吧? #8

tnie opened this issue Apr 8, 2018 · 0 comments

Comments

@tnie
Copy link
Owner

tnie commented Apr 8, 2018

Protoc treats \r as plain whitespace, so it should have no problem with Windows line endings. I just tested this and sure enough, protoc works fine with .proto files that use Windows-style line endings.

来源:https://groups.google.com/forum/#!topic/protobuf/jB8o-sGwpRw

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

No branches or pull requests

1 participant