Commit 53a4cc0c authored by Mario Hock's avatar Mario Hock
Browse files

cnl_ls -l: multi-line comments

parent f1518f86
......@@ -60,7 +60,14 @@ def print_line(left_file, right_file, long=False):
out = left_file.filename
if ( long ):
out += " // " + merge_comments(left_file, right_file)
out += " // "
comm_offset = len(out)
comments = merge_comments(left_file, right_file).split(";")
out += comments[0]
for c in comments[1:]:
out += ";\n" + " "*comm_offset + c.strip()
print( out )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment