Browse Source

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

pull/12600/head
QMK Bot 3 years ago
parent
commit
1ac030b119
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      keyboards/ergodox_ez/util/keymap_beautifier/KeymapBeautifier.py

+ 2
- 0
keyboards/ergodox_ez/util/keymap_beautifier/KeymapBeautifier.py View File

@ -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):


Loading…
Cancel
Save