Changeset 193 for pkpgcounter/trunk/pdlanalyzer/pdlparser.py
- Timestamp:
- 04/04/05 00:28:37 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pdlanalyzer/pdlparser.py
r192 r193 20 20 # 21 21 22 class PDLParserError(Exception): 23 """An exception for PDLParser related stuff.""" 24 def __init__(self, message = ""): 25 self.message = message 26 Exception.__init__(self, message) 27 def __repr__(self): 28 return self.message 29 __str__ = __repr__ 30 22 31 class PDLParser : 23 32 """Generic PDL parser."""