summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox_ez/util
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox_ez/util')
-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):