From: Finn B. <bc...@us...> - 2001-08-13 18:30:38
|
Update of /cvsroot/jython/jython/org/python/parser In directory usw-pr-cvs1:/tmp/cvs-serv15878/parser Modified Files: SimpleNode.java Log Message: Reverting the fix that helped test_grammer. We'll fix test_grammer instead. http://www.geocrawler.com/lists/3/SourceForge/7018/0/6373797/ Index: SimpleNode.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/parser/SimpleNode.java,v retrieving revision 2.14 retrieving revision 2.15 diff -C2 -d -r2.14 -r2.15 *** SimpleNode.java 2001/08/05 14:42:46 2.14 --- SimpleNode.java 2001/08/13 18:30:35 2.15 *************** *** 71,83 **** } - public int getChildIndex(SimpleNode child) { - for (int i = 0; i < getNumChildren(); i++) { - if (getChild(i) == child) { - return i; - } - } - return -1; - } - public Object getInfo() { return info; } --- 71,74 ---- |