Bug in beautifier script, compound modifiers not correctly parsed (#12595)
This commit is contained in:
parent
a8c013a145
commit
3975c712f0
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue