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

Replacement of end-of-line is too weak #3

Closed
svenn71 opened this issue Jul 28, 2016 · 1 comment
Closed

Replacement of end-of-line is too weak #3

svenn71 opened this issue Jul 28, 2016 · 1 comment

Comments

@svenn71
Copy link

svenn71 commented Jul 28, 2016

If a vhdl file contains \r\n the regexps will not detect generics or ports
change
entityText = entityText.replace(/\n/g, " ")
to
entityText = entityText.replace(/\r*\n/g, " ")

sneakypete81 added a commit that referenced this issue Jul 30, 2016
@sneakypete81
Copy link
Owner

I couldn't reproduce this problem. I'm running Atom under Linux, so perhaps it's only a problem with some OSes.

I've added a fix anyway.

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

2 participants