aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ergodox_ez
diff options
context:
space:
mode:
authorsendmmsg <47253595+sendmmsg@users.noreply.github.com>2021-04-16 16:23:30 +0200
committerGitHub <noreply@github.com>2021-04-16 16:23:30 +0200
commit3975c712f0c850156a3e3ec24452077e5f973309 (patch)
treecd00f5f2e21172f236b66f1c19f40da718274388 /keyboards/ergodox_ez
parenta8c013a145bf52a28b88154c9d1445615f7e984b (diff)
downloadqmk_firmware-3975c712f0c850156a3e3ec24452077e5f973309.tar.gz
qmk_firmware-3975c712f0c850156a3e3ec24452077e5f973309.zip
Bug in beautifier script, compound modifiers not correctly parsed (#12595)
Diffstat (limited to 'keyboards/ergodox_ez')
-rwxr-xr-xkeyboards/ergodox_ez/util/keymap_beautifier/KeymapBeautifier.py2
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 b96e4c96c..6b6f391ce 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:
361 args.append(arg.value) 361 args.append(arg.value)
362 elif type(arg) is pycparser.c_ast.ID: 362 elif type(arg) is pycparser.c_ast.ID:
363 args.append(arg.name) 363 args.append(arg.name)
364 elif type(arg) is pycparser.c_ast.FuncCall:
365 args.append(self.function_expr(arg))
364 return "{}({})".format(name, ",".join(args)) 366 return "{}({})".format(name, ",".join(args))
365 367
366 def key_expr(self, raw): 368 def key_expr(self, raw):