Changeset 1163 for proto


Ignore:
Timestamp:
Apr 26, 2011, 6:59:10 PM (8 years ago)
Author:
ksherdy
Message:

Add PostValidator? not implemented message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/RE2PBS/bin/re2pbs.py

    r1154 r1163  
    200200
    201201    def __init__(self, level=0, cursor='cursor', error='error'):
     202     
     203      print self.__class__.__name__ + ' not implemented.'
     204      sys.exit(1)
     205     
    202206      Generator.__init__(self, level, cursor, error)
    203207   
     
    474478    factory = GeneratorFactory()
    475479   
    476     re2pbs_code_generator = factory.build_pre_validator()
     480    re2pbs_code_generator = factory.build_post_validator()
    477481    pbs_code = re2pbs_code_generator.make_init_stmts('lex.Ampersand')                           # init   '&'
    478482    pbs_code += re2pbs_code_generator.make_match_stmts('lex.Ampersand', None, 'lex.Hash')       # expect '&'
Note: See TracChangeset for help on using the changeset viewer.