diff options
author | sendmmsg <47253595+sendmmsg@users.noreply.github.com> | 2021-04-16 16:23:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 16:23:30 +0200 |
commit | 3975c712f0c850156a3e3ec24452077e5f973309 (patch) | |
tree | cd00f5f2e21172f236b66f1c19f40da718274388 /keyboards | |
parent | a8c013a145bf52a28b88154c9d1445615f7e984b (diff) | |
download | qmk_firmware-3975c712f0c850156a3e3ec24452077e5f973309.tar.gz qmk_firmware-3975c712f0c850156a3e3ec24452077e5f973309.zip |
Bug in beautifier script, compound modifiers not correctly parsed (#12595)
Diffstat (limited to 'keyboards')
-rwxr-xr-x | keyboards/ergodox_ez/util/keymap_beautifier/KeymapBeautifier.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/ergodox_ez/util/keymap_beautifier/KeymapBeautifier.py b/keyboards/ergodox_ez/util/keymap_beautifier/KeymapBeautifier.py index b96e4c96cd..6b6f391ce5 100755 --- a/keyboards/ergodox_ez/util/keymap_beautifier/KeymapBeautifier.py +++ b/keyboards/ergodox_ez/util/keymap_beautifier/KeymapBeautifier.py @@ -361,6 +361,8 @@ class KeymapBeautifier: args.append(arg.value) elif type(arg) is pycparser.c_ast.ID: args.append(arg.name) + elif type(arg) is pycparser.c_ast.FuncCall: + args.append(self.function_expr(arg)) return "{}({})".format(name, ",".join(args)) def key_expr(self, raw): |