Merge remote-tracking branch 'origin/master' into develop

master
QMK Bot 2021-04-16 14:24:18 +00:00
commit 1ac030b119
1 changed files with 2 additions and 0 deletions

View File

@ -361,6 +361,8 @@ class KeymapBeautifier:
args.append(arg.value) args.append(arg.value)
elif type(arg) is pycparser.c_ast.ID: elif type(arg) is pycparser.c_ast.ID:
args.append(arg.name) args.append(arg.name)
elif type(arg) is pycparser.c_ast.FuncCall:
args.append(self.function_expr(arg))
return "{}({})".format(name, ",".join(args)) return "{}({})".format(name, ",".join(args))
def key_expr(self, raw): def key_expr(self, raw):