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

JS lexer hangs on some minified js files #78

Closed
jeffgran opened this issue Jun 1, 2013 · 2 comments
Closed

JS lexer hangs on some minified js files #78

jeffgran opened this issue Jun 1, 2013 · 2 comments
Labels
stale-issue There has been no activity for a year.

Comments

@jeffgran
Copy link

jeffgran commented Jun 1, 2013

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

@jneen
Copy link
Member

jneen commented Jun 1, 2013

Hm, yeah, that's definitely not desired behavior. Do you think you could whittle it down to a more minimal test case?

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
@stale
Copy link

stale bot commented Jun 19, 2019

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.

@stale stale bot added the stale-issue There has been no activity for a year. label Jun 19, 2019
@stale stale bot closed this as completed Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale-issue There has been no activity for a year.
Projects
None yet
Development

No branches or pull requests

2 participants