Changeset 20890
- Timestamp:
- 10/07/08 13:21:36 (2 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/python/dfareg/branches/codezine200809/dfareg/nfabuilder.py
r20889 r20890 33 33 self.context = context 34 34 self.map = dict() 35 self.accepts = None # should be set later36 self.start = None # should be set later35 self.accepts = None # frozenset型 36 self.start = None # 整数型 37 37 38 38 def connect(self, from_, char, to): … … 42 42 def __or__(self, frag): 43 43 if frag.context is not self.context: 44 raise Exception("can't merge other context fragment")44 raise Exception("can't merge fragments in other contexts") 45 45 46 46 new_frag = self.new_skelton()
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)