yml2c
changeset 72 e52ee17bca47
parent 68 26120af11afd
equal deleted inserted replaced
71:adb8b1a1d517 72:e52ee17bca47
    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 yml2.pyPEG import parse, u
    14 from yml2.pyPEG import parse, u
    15 from yml2 import ymlCStyle, comment, oldSyntax
    15 from yml2.grammar import ymlCStyle, comment, oldSyntax
    16 import yml2.backend as backend
    16 import yml2.backend as backend
    17 
    17 
    18 YML_DEFAULT_PATH = [os.path.dirname(backend.__file__)]
    18 YML_DEFAULT_PATH = [os.path.dirname(backend.__file__)]
    19 
    19 
    20 def printInfo(option, opt_str, value, parser):
    20 def printInfo(option, opt_str, value, parser):