Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 182052 Details for
Bug 324416
JSDT cannot correctly parse jQuery 1.4.2 files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Updated patch
patchFor324416 (text/plain), 4.41 KB, created by
Chris Jaun
on 2010-10-29 11:02:43 EDT
(
hide
)
Description:
Updated patch
Filename:
MIME Type:
Creator:
Chris Jaun
Created:
2010-10-29 11:02:43 EDT
Size:
4.41 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.wst.jsdt.core >Index: libraries/system.js >=================================================================== >RCS file: /cvsroot/webtools/org.eclipse.jsdt/plugins/org.eclipse.wst.jsdt.core/libraries/system.js,v >retrieving revision 1.32.2.1 >diff -u -r1.32.2.1 system.js >--- libraries/system.js 28 Sep 2010 21:08:35 -0000 1.32.2.1 >+++ libraries/system.js 29 Oct 2010 15:02:13 -0000 >@@ -958,6 +958,13 @@ > Global.prototype.debugger=null; > > /** >+ * Property undefined >+ * @memberOf Global >+ * @description undefined >+*/ >+Global.prototype.undefined=null; >+ >+/** > * function parseInt(s,radix) > * @memberOf Global > * @param {String} s >Index: src/org/eclipse/wst/jsdt/internal/compiler/batch/CompilationUnit.java >=================================================================== >RCS file: /cvsroot/webtools/org.eclipse.jsdt/plugins/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/batch/CompilationUnit.java,v >retrieving revision 1.9 >diff -u -r1.9 CompilationUnit.java >--- src/org/eclipse/wst/jsdt/internal/compiler/batch/CompilationUnit.java 30 Apr 2008 21:32:33 -0000 1.9 >+++ src/org/eclipse/wst/jsdt/internal/compiler/batch/CompilationUnit.java 29 Oct 2010 15:02:13 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2008 IBM Corporation and others. >+ * Copyright (c) 2000, 2010 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -13,6 +13,7 @@ > import java.io.File; > import java.io.IOException; > >+import org.eclipse.wst.jsdt.core.IJavaScriptProject; > import org.eclipse.wst.jsdt.core.LibrarySuperType; > import org.eclipse.wst.jsdt.core.compiler.CharOperation; > import org.eclipse.wst.jsdt.internal.compiler.env.ICompilationUnit; >@@ -97,7 +98,9 @@ > public LibrarySuperType getCommonSuperType() { > // TODO Auto-generated method stub > // System.out.println("Unimplemented method:JavaScriptUnit.getCommonSuperType"); //$NON-NLS-1$ >- return null; >+ // need to set the name of the super type or else we can't resolve global variables >+ return new LibrarySuperType("batch", (IJavaScriptProject) null, "Global"); >+ //return null; > } > public String getInferenceID() { > return null; >Index: src/org/eclipse/wst/jsdt/internal/compiler/parser/Scanner.java >=================================================================== >RCS file: /cvsroot/webtools/org.eclipse.jsdt/plugins/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/Scanner.java,v >retrieving revision 1.17.4.1 >diff -u -r1.17.4.1 Scanner.java >--- src/org/eclipse/wst/jsdt/internal/compiler/parser/Scanner.java 27 Sep 2010 19:32:55 -0000 1.17.4.1 >+++ src/org/eclipse/wst/jsdt/internal/compiler/parser/Scanner.java 29 Oct 2010 15:02:13 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2008 IBM Corporation and others. >+ * Copyright (c) 2000, 2010 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -3651,20 +3651,20 @@ > return TokenNameIdentifier; > } > >- case 'u' : //goto >- if (length == 9) { >- if ((data[++index] == 'n') >- && (data[++index] == 'd') >- && (data[++index] == 'e') >- && (data[++index] == 'f') >- && (data[++index] == 'i') >- && (data[++index] == 'n') >- && (data[++index] == 'e') >- && (data[++index] == 'd')) { >- return TokenNameundefined; >- } >- } //no goto in java are allowed, so why java removes this keyword ??? >- return TokenNameIdentifier; >+// case 'u' : //goto >+// if (length == 9) { >+// if ((data[++index] == 'n') >+// && (data[++index] == 'd') >+// && (data[++index] == 'e') >+// && (data[++index] == 'f') >+// && (data[++index] == 'i') >+// && (data[++index] == 'n') >+// && (data[++index] == 'e') >+// && (data[++index] == 'd')) { >+// return TokenNameIdentifier; >+// } >+// } //no goto in java are allowed, so why java removes this keyword ??? >+// return TokenNameIdentifier; > > case 'v' : //void volatile > switch (length) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 324416
:
178148
|
178538
| 182052