def feeder(lineno, s, fn, statements): m = __config_regexp__.match(s) if m: groupd = m.groupdict() ast.handleData(statements, fn, lineno, groupd) return m = __include_regexp__.match(s) if m: ast.handleInclude(statements, fn, lineno, m, False) return m = __require_regexp__.match(s) if m: ast.handleInclude(statements, fn, lineno, m, True) return m = __export_regexp__.match(s) if m: ast.handleExport(statements, fn, lineno, m) return m = __unset_regexp__.match(s) if m: ast.handleUnset(statements, fn, lineno, m) return m = __unset_flag_regexp__.match(s) if m: ast.handleUnsetFlag(statements, fn, lineno, m) return raise ParseError("unparsed line: '%s'" % s, fn, lineno)
def feeder(lineno, s, fn, statements): m = __config_regexp__.match(s) if m: groupd = m.groupdict() ast.handleData(statements, fn, lineno, groupd) return m = __include_regexp__.match(s) if m: ast.handleInclude(statements, fn, lineno, m, False) return m = __require_regexp__.match(s) if m: ast.handleInclude(statements, fn, lineno, m, True) return m = __export_regexp__.match(s) if m: ast.handleExport(statements, fn, lineno, m) return m = __unset_regexp__.match(s) if m: ast.handleUnset(statements, fn, lineno, m) return m = __unset_flag_regexp__.match(s) if m: ast.handleUnsetFlag(statements, fn, lineno, m) return raise ParseError("unparsed line: '%s'" % s, fn, lineno);