

def scan_command_set_local(state):
    params = {
        'option': None,
        'value': None,
    }
    state.skip(' ')
    state.ignore()
    m = state.expect_match('(?P<option>.+?)(?:[:=](?P<value>.+?))?$')
    params.update(m.groupdict())
    return (None, [TokenSet(params), TokenEof()])

dataset/ETHPy150Open guillermooo/Vintageous/ex/parser/scanner_command_set_local.py scan_command_set_local/original