Lines Matching full:macro
5 """ Find macro definitions with unused parameters. """
52 # if there is a correct macro with the same name, do not report it.
54 print(f"Argument {arg} is not used in function-line macro {identifier}")
61 def macro_strip(macro): argument
65 macro = macro.strip()
66 macro = re.sub(comment_pattern1, '', macro)
67 macro = re.sub(comment_pattern2, '', macro)
69 return macro
91 macro = re.match(macro_pattern, line)
92 if macro:
93 macro = macro_strip(macro.string)
94 while macro[-1] == '\\':
95 macro = macro[0:-1]
96 macro = macro.strip()
97 macro += f.readline()
98 macro = macro_strip(macro)
105 check_macro(macro, report)