Update of /cvsroot/pydev/org.python.pydev.parser/src/org/python/pydev/parser/grammar24
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20472/src/org/python/pydev/parser/grammar24
Modified Files:
TreeBuilder24.java
Log Message:
Synching to latest changes:
Pydev
<ul>
<li><strong>Editor</strong>: Cursor settings no longer overridden</li>
<li><strong>Code-completion</strong>: If __all__ is defined with runtime elements (and not only in a single assign statement), it's ignored for code-completion purposes</li>
<li><strong>Debugger</strong>: Pythonpath the same in debug and regular modes (sys.path[0] is the same directory as the file run)</li>
<li><strong>Debugger</strong>: Persist choices done in the debugger when files from the debugger are not found</li>
<li><strong>Interpreter config</strong>: "email" automatically added to the "forced builtins"</li>
<li><strong>Parser</strong>: Correctly recognizing absolute import with 3 or more levels</li>
<li><strong>Syntax check</strong>: Option to do only on active editor</li>
</ul>
Also: tabs changed for spaces
Index: TreeBuilder24.java
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev.parser/src/org/python/pydev/parser/grammar24/TreeBuilder24.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** TreeBuilder24.java 31 Oct 2007 00:54:36 -0000 1.7
--- TreeBuilder24.java 27 Sep 2008 19:58:44 -0000 1.8
***************
*** 168,172 ****
return name;
case JJTNUM:
! Object[] numimage = (Object[]) n.getImage();
return new Num(numimage[0], (Integer)numimage[1], (String)numimage[2]);
case JJTUNICODE:
--- 168,172 ----
return name;
case JJTNUM:
! Object[] numimage = (Object[]) n.getImage();
return new Num(numimage[0], (Integer)numimage[1], (String)numimage[2]);
case JJTUNICODE:
***************
*** 802,812 ****
}
! private void setParentForFuncOrClass(stmtType[] body, SimpleNode classDef) {
! for(stmtType b:body){
! if(b instanceof ClassDef || b instanceof FunctionDef){
! b.parent = classDef;
! }
! }
! }
private suiteType popSuiteAndSuiteType() {
--- 802,812 ----
}
! private void setParentForFuncOrClass(stmtType[] body, SimpleNode classDef) {
! for(stmtType b:body){
! if(b instanceof ClassDef || b instanceof FunctionDef){
! b.parent = classDef;
! }
! }
! }
private suiteType popSuiteAndSuiteType() {
|