Changeset 20890

Show
Ignore:
Timestamp:
10/07/08 13:21:36 (2 months ago)
Author:
hiratara
Message:

エラーメッセージ修正

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/python/dfareg/branches/codezine200809/dfareg/nfabuilder.py

    r20889 r20890  
    3333        self.context = context 
    3434        self.map     = dict() 
    35         self.accepts = None  # should be set later 
    36         self.start   = None  # should be set later 
     35        self.accepts = None  # frozenset型 
     36        self.start   = None  # 整数型 
    3737 
    3838    def connect(self, from_, char, to): 
     
    4242    def __or__(self, frag): 
    4343        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") 
    4545 
    4646        new_frag = self.new_skelton()