Ignore:
Timestamp:
04/15/06 19:54:52 (8 years ago)
Author:
xi
Message:

Major refactoring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/examples/yaml-hl/yaml_hl.py

    r119 r136  
    22 
    33import yaml, codecs, sys, optparse 
     4 
     5 
     6 
     7yaml.add_resolver(u'!Config', []) 
     8yaml.add_resolver(u'!TokensConfig', [u'tokens']) 
     9yaml.add_resolver(u'!EventsConfig', [u'events']) 
     10yaml.add_resolver(u'!StartEndConfig', [u'tokens', None]) 
     11yaml.add_resolver(u'!StartEndConfig', [u'events', None]) 
    412 
    513class YAMLHighlight: 
Note: See TracChangeset for help on using the changeset viewer.