def add_stmt(stmt, arg_rules):
    """Use by plugins to add grammar for an extension statement."""
    (arg, rules) = arg_rules
    stmt_map[stmt] = (arg, rules)
def add_stmt ( stmt , arg_rules ) : ( arg , rules ) = arg_rules stmt_map [ stmt ] = ( arg , rules )
Use by plugins to add grammar for an extension statement.