Bug in beautifier script, compound modifiers not correctly parsed (#12595)
This commit is contained in:
parent
a8c013a145
commit
3975c712f0
@ -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…
Reference in New Issue
Block a user