summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox_ez/util/keymap_beautifier
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-04-16 14:24:18 +0000
committerQMK Bot <hello@qmk.fm>2021-04-16 14:24:18 +0000
commit1ac030b11974ab3504a3087e6f82ba29674e3544 (patch)
tree310be593d2b7a342181f6eb7656af2013ba433f5 /keyboards/ergodox_ez/util/keymap_beautifier
parente2289ffac09e86da32a331ce688e9cd3875e1cd6 (diff)
parent3975c712f0c850156a3e3ec24452077e5f973309 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/ergodox_ez/util/keymap_beautifier')
-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 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):