yml2c
changeset 41 98a53c3282c3
parent 40 432ab62b2537
child 43 fb35b9db9ca1
equal deleted inserted replaced
40:432ab62b2537 41:98a53c3282c3
     9 
     9 
    10 import sys, os, codecs, locale
    10 import sys, os, codecs, locale
    11 import fileinput, unicodedata
    11 import fileinput, unicodedata
    12 from optparse import OptionParser
    12 from optparse import OptionParser
    13 
    13 
    14 from pyPEG import parse, u
    14 from yml2.pyPEG import parse, u
    15 from yml2 import ymlCStyle, comment, oldSyntax
    15 from yml2 import ymlCStyle, comment, oldSyntax
    16 import backend
    16 import yml2.backend as backend
    17 
    17 
    18 def printInfo(option, opt_str, value, parser):
    18 def printInfo(option, opt_str, value, parser):
    19     sys.stdout.write(__doc__)
    19     sys.stdout.write(__doc__)
    20     sys.exit(0)
    20     sys.exit(0)
    21 
    21