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

rules for syntax errors between yuiCompressor 2.4.8 and master branch #236

Closed
herau opened this issue Jan 19, 2016 · 2 comments
Closed

rules for syntax errors between yuiCompressor 2.4.8 and master branch #236

herau opened this issue Jan 19, 2016 · 2 comments

Comments

@herau
Copy link

herau commented Jan 19, 2016

When i'm using the master branch, i have lots of syntax errors which have not using the released 2.4.8 version of YuiCompressor.

Does the syntax error rules have been updated between the 2.4.8 released version (published in public maven repository) and the master branch ?

org.mozilla.javascript.EvaluatorException: Compilation produced 43 syntax errors.
    at com.yahoo.platform.yui.compressor.YUICompressor$1.runtimeError(YUICompressor.java:193)
    at org.mozilla.javascript.Parser.parse(Parser.java:396)
    at org.mozilla.javascript.Parser.parse(Parser.java:340)
    at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:315)
    at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:540)
    at com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompressor.java:168)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.yahoo.platform.yui.compressor.Bootstrap.main(Bootstrap.java:21)
@herau herau changed the title syntax errors rules between yuiCompressor 2.4.8 and master branch rules for syntax errors between yuiCompressor 2.4.8 and master branch Jan 19, 2016
@stepand76
Copy link

I'm getting this syntax error with official 2.4.8. See #234

@herau
Copy link
Author

herau commented Jan 19, 2016

you are right ! it's between 2.4.7 and 2.4.8 sorry !

@herau herau closed this as completed Jan 19, 2016
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