caksoylar / keymap-drawer

Visualize keymaps that use advanced features like hold-taps and combos, with automatic parsing
https://caksoylar.github.io/keymap-drawer
MIT License
746 stars 62 forks source link

Hook into on_error for pcpp issues #133

Closed caksoylar closed 1 week ago

caksoylar commented 1 week ago

By default pcpp writes any issues to stderr. keymap-drawer should override the on_error hook so that it can either ignore them, or log them more properly with #122.

https://ned14.github.io/pcpp/parser.html#pcpp.parser.PreprocessorHooks.on_error

caksoylar commented 1 week ago

Fixed by d3331b0