[pypy-svn] r48289 - in pypy/dist/pypy/interpreter: astcompiler pyparser
fijal at codespeak.net
fijal at codespeak.net
Sun Nov 4 15:38:13 CET 2007
Author: fijal
Date: Sun Nov 4 15:38:11 2007
New Revision: 48289
Modified:
pypy/dist/pypy/interpreter/astcompiler/ast.py
pypy/dist/pypy/interpreter/pyparser/grammar.py
Log:
Make annotator happy.
Modified: pypy/dist/pypy/interpreter/astcompiler/ast.py
==============================================================================
--- pypy/dist/pypy/interpreter/astcompiler/ast.py (original)
+++ pypy/dist/pypy/interpreter/astcompiler/ast.py Sun Nov 4 15:38:11 2007
@@ -73,6 +73,9 @@
lst = self.getChildNodes()
return space.newlist( [ space.wrap( it ) for it in lst ] )
+ def get_value(self):
+ pass
+
def descr_node_accept( space, w_self, w_visitor ):
return space.call_method( w_visitor, 'visitNode', w_self )
Modified: pypy/dist/pypy/interpreter/pyparser/grammar.py
==============================================================================
--- pypy/dist/pypy/interpreter/pyparser/grammar.py (original)
+++ pypy/dist/pypy/interpreter/pyparser/grammar.py Sun Nov 4 15:38:11 2007
@@ -68,6 +68,8 @@
"""Returns the source text between two scanner positions"""
return ""
+ def peek(self):
+ pass
######################################################################
More information about the Pypy-commit
mailing list