-
Notifications
You must be signed in to change notification settings - Fork 736
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
JS lexer hangs on some minified js files #78
Labels
stale-issue
There has been no activity for a year.
Comments
Hm, yeah, that's definitely not desired behavior. Do you think you could whittle it down to a more minimal test case? |
Merged
lucidbee
pushed a commit
to BonsaiAI/rouge
that referenced
this issue
Mar 16, 2017
Fix scrolling bugs, history bugs, and add search minimum score to display
This issue has been automatically marked as stale because it has not had any activity for more than a year. It will be closed if no additional activity occurs within the next 14 days. If you would like this issue to remain open, please reply and let us know if the issue is still reproducible. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This one may seem silly -- it's a minified javascript file. But we are trying to be able to parse any file including minified ones.
I'm guessing it might be because the lexer never gets into the "whitespace" state, since there's no whitespace?
Here's a couple of example files that elicit the problem:
https://raw.github.com/yui/yui3/v3.0.0/build/dom/dom-min.js
https://svn.apache.org/repos/asf/geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/VectorText.js
The text was updated successfully, but these errors were encountered: