aboutsummaryrefslogtreecommitdiffstats
path: root/src/ffi.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-11-03 01:55:19 +0100
committerTeddy Wing2018-11-03 01:55:19 +0100
commit20675d6b78e666c9fcfdb22a003a098b117dd74e (patch)
tree9827fb7bd841c0061c091895b57dc7b75d4dac28 /src/ffi.rs
parent7776832ec11ee7d4e62cfd2a6ad7735f323ab5bc (diff)
downloaddome-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.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index e0cd0af..238385d 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -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) => {