remove_comments
Added in 0.7.0
It is important to note that when generating code with the dense
or readable
generator (e.g. darklua process src --format dense
), the comments will already be removed. The only way to retain comments is to use the retain_lines
format and avoid this rule.
Examples
return nil -- this is a comment
return nil
Input | Output |
---|---|
|
|