'Initialize the code generator from a configuration
file.'

def __init__(self, cfg_filename='_c_ast.cfg'):

    self.cfg_filename = cfg_filename
    self.node_cfg = [NodeCfg(name, contents) for (name, contents) in self.parse_cfgfile(cfg_filename)]
