diff options
author | wm4 <wm4@nowhere> | 2012-09-22 14:54:57 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-12 10:10:32 +0200 |
commit | d232012287fe2e6e829ce9e4c20e0d9f9dc4ed5e (patch) | |
tree | 21fcbd89ad3d1c4ecf5e0e38795b232f49b86769 /input/joystick.c | |
parent | 84af1733800fd78af61b2ebf5be10673192b68fe (diff) | |
download | mpv-d232012287fe2e6e829ce9e4c20e0d9f9dc4ed5e.tar.bz2 mpv-d232012287fe2e6e829ce9e4c20e0d9f9dc4ed5e.tar.xz |
input: handle escapes always in command parser
Previously, both the command parser and property expansion
(m_properties_expand_string) handled escapes with '\'. Move all escape
handling into the command parser, and remove it from the property code.
This removes the need to escape strings twice for commands that use
property expansion.
The command parser is practically rewritten: it uses m_option for the
actual parsing, and reduces hackish C-string handling.
Diffstat (limited to 'input/joystick.c')
0 files changed, 0 insertions, 0 deletions