crisper
crisper copied to clipboard
Fix for #49
The idea is to loop through all lines backwards and skip those which are either empty, a single comment or part of a block comment. Then count the number of meaningful lines of code left and insert the semicolon at the proper line in the original code keeping the comments at the end.