Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341937

Summary: Parser failure on comma operator within ?: operator (in jQuery-1.5.2.min.js)
Product: [WebTools] JSDT Reporter: Paul Beusterien <paul.beusterien>
Component: GeneralAssignee: Project Inbox <jsdt.javascript-inbox>
Status: CLOSED DUPLICATE QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3    
Version: 3.2.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Paul Beusterien CLA 2011-04-05 11:48:47 EDT
The latest compressed version of jQuery now fails in the JSDT parser.

Here is a small test case:

            function  bP(k,a) {  
            var l;
                k?l=1:
                (foo(l),l=bP(a));    
            return l}


Description	Resource	Path	Location	Type
Syntax error on token ",", . expected	break.js	/aaaa/assets/www	line 4	JavaScript Problem
Comment 1 Nitin Dahyabhai CLA 2011-04-05 16:32:24 EDT

*** This bug has been marked as a duplicate of bug 329716 ***