Skip to content
Snippets Groups Projects
Commit 0fb8cea7 authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[lint] let black make things uglier

parent cdf0730e
No related branches found
No related tags found
No related merge requests found
......@@ -46,10 +46,16 @@ c_id_maybe_pointer = c_identifier + "[*]*"
optional_c_id = "(?:" + c_identifier + ")?"
non_empty_whitespace = r"[ \t\r\n]+" # includes newline/CR
whitespace = "[ \t\r\n]*" # includes newline/CR
attribute = r"__attribute__\(\("+whitespace+c_identifier+whitespace+r"\)\)"
attribute = r"__attribute__\(\(" + whitespace + c_identifier + whitespace + r"\)\)"
maybe_attr = "(?:" + attribute + non_empty_whitespace + ")?"
type_prefix = (
maybe_attr + c_id_maybe_pointer + r"(?:\s+[*]*" + c_id_maybe_pointer + ")*" + non_empty_whitespace + "[*]*"
maybe_attr
+ c_id_maybe_pointer
+ r"(?:\s+[*]*"
+ c_id_maybe_pointer
+ ")*"
+ non_empty_whitespace
+ "[*]*"
)
optional_type_prefix = "(?:" + type_prefix + whitespace + ")?"
argument_list = r"\([^)]*\)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment