fix: skip to next binding on parse error
This commit is contained in:
parent
376d14353a
commit
2893347da7
1 changed files with 2 additions and 2 deletions
|
@ -504,7 +504,7 @@ const BindingSet = struct {
|
||||||
.key_event => {
|
.key_event => {
|
||||||
keys = parse_key_events(self.allocator, token) catch |e| {
|
keys = parse_key_events(self.allocator, token) catch |e| {
|
||||||
self.logger.print_err("keybind.load", "ERROR: {s} {s}", .{ @errorName(e), parse_error_message });
|
self.logger.print_err("keybind.load", "ERROR: {s} {s}", .{ @errorName(e), parse_error_message });
|
||||||
return e;
|
break;
|
||||||
};
|
};
|
||||||
state = .command;
|
state = .command;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue