Lines Matching refs:declaration
131 def act_on_decl(declaration, comment, allowed_types): argument
138 if declaration.strip():
144 \s*([^\s;]+)\s*;\s*$""", declaration, flags=re.X)
157 \)\s*;\s*$""", declaration, flags=re.X)
172 \)\s*;\s*$""", declaration, flags=re.X)
196 \)\s*{\s*$""", declaration, flags=re.X)
205 raise Exception('Cannot parse "%s"' % declaration)
220 \)\s*{\s*$""", declaration, flags=re.X)
225 raise Exception('Cannot parse "%s"' % declaration)
239 \)\s*{\s*$""", declaration, flags=re.X)
250 raise Exception('Cannot parse "%s"' % declaration)
261 declaration, flags=re.X)
271 declaration, flags=re.X)
281 declaration, flags=re.X)
297 \)\s*{""", declaration, re.X)
316 print '*** Unparsable: "' + declaration + '" ***'
338 declaration = '' variable
344 if declaration:
345 act_on_decl(declaration, comment, allowed_types)
347 declaration = '' variable
358 declaration += ' ' + line
365 act_on_decl(declaration, comment, allowed_types)
367 declaration = '' variable