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
|
@ -503,8 +503,8 @@ const BindingSet = struct {
|
|||
switch (state) {
|
||||
.key_event => {
|
||||
keys = parse_key_events(self.allocator, token) catch |e| {
|
||||
self.logger.print_err("keybind.load", "ERROR: {s} {s}", .{@errorName(e), parse_error_message});
|
||||
return e;
|
||||
self.logger.print_err("keybind.load", "ERROR: {s} {s}", .{ @errorName(e), parse_error_message });
|
||||
break;
|
||||
};
|
||||
state = .command;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue