Removing comments from parsed contracts
riczardo opened this issue · 1 comments
riczardo commented
Removing comments from parsed contracts
riczardo commented
remove_comments utility was created. Since the scanner is static, it works by replacing comment lines with given text, as to not cause false positives in the scanner. Replaced lines are only present during contract parsing and no original code is changed.
Utility works on single line comments as well as multiline.