[pypy-svn] r10106 - pypy/dist/pypy/module/parser

hpk at codespeak.net hpk at codespeak.net
Wed Mar 23 02:04:30 CET 2005


Author: hpk
Date: Wed Mar 23 02:04:30 2005
New Revision: 10106

Added:
   pypy/dist/pypy/module/parser/app_class.py
Modified:
   pypy/dist/pypy/module/parser/__init__.py
Log:
add a missing file (at the right place) 


Modified: pypy/dist/pypy/module/parser/__init__.py
==============================================================================
--- pypy/dist/pypy/module/parser/__init__.py	(original)
+++ pypy/dist/pypy/module/parser/__init__.py	Wed Mar 23 02:04:30 2005
@@ -6,7 +6,7 @@
     """The builtin parser module. 
     """ 
     appleveldefs = {
-        'ParserError'  : 'classes.ParserError', 
+        'ParserError'  : 'app_class.ParserError', 
     }
         
     interpleveldefs = {
@@ -16,7 +16,7 @@
         'suite'        : 'pyparser.suite',
         'expr'         : 'pyparser.expr',
         'STType'       : 'pyparser.STType', 
-        'ASTType'      : 'pyparser.STType', 
+#        'ASTType'      : 'pyparser.STType', 
         'sequence2st'  : 'pyparser.sequence2st',
         #'eval_input'   : 'pyparser.eval_input', 
         #'file_input'   : 'pyparser.file_input', 

Added: pypy/dist/pypy/module/parser/app_class.py
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/module/parser/app_class.py	Wed Mar 23 02:04:30 2005
@@ -0,0 +1,8 @@
+
+# ______________________________________________________________________
+# ParserError exception
+
+class ParserError (Exception):
+    """Class ParserError
+    Exception class for parser errors (I assume).
+    """



More information about the Pypy-commit mailing list