diff options
| author | Teddy Wing | 2018-11-03 01:55:19 +0100 |
|---|---|---|
| committer | Teddy Wing | 2018-11-03 01:55:19 +0100 |
| commit | 20675d6b78e666c9fcfdb22a003a098b117dd74e (patch) | |
| tree | 9827fb7bd841c0061c091895b57dc7b75d4dac28 /src/ffi.rs | |
| parent | 7776832ec11ee7d4e62cfd2a6ad7735f323ab5bc (diff) | |
| download | dome-key-map-20675d6b78e666c9fcfdb22a003a098b117dd74e.tar.bz2 | |
parser: Remove `MapAction::parse()` etc. code from second parser pass
Revert changes from 75d52e385fa66d6e151c9baa2cf22c2223c39ff0. These are
obsolete.
Now that we parse actions right in the main parser
(7776832ec11ee7d4e62cfd2a6ad7735f323ab5bc), get rid of all code related
to the second pass parser from `Action::String`s into `Action::Map`s, as
it's obsolete.
All of this action parsing is now handled by the main `map_group()`
parser.
Diffstat (limited to 'src/ffi.rs')
| -rw-r--r-- | src/ffi.rs | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -74,7 +74,6 @@ pub extern "C" fn dome_key_state_load_map_group(ptr: *mut State) { state.map_group = match MapGroup::parse(&state.mappings_str) { Ok(mut map_group) => { - // map_group.parse_actions(); Some(map_group) }, Err(e) => { |
