Lines Matching defs:block
30 # Check that source files contain a valid comment block
44 def checkblock(block, blk_text):
45 line = block['start']
46 lictxt = block['block']
85 blocks.append({'start':start, 'block':lic})
92 output.write('%s: %s: Error: Incomplete %s block\n''' %
95 # Check for no comment block, warn if we're not being lenient
99 output.write("%s: Warning: No %s block\n" %
110 # Validate each comment block
117 "%s: %d: Error: Invalid line in %s block:\n"
126 output.write("%s: Valid %s block\n" %