Skip to content
Snippets Groups Projects
Commit 2c06691d authored by Andrew Cooks's avatar Andrew Cooks
Browse files

add cleanup step to remove comments after the closing function brace

parent 1982a1a3
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,10 @@ done
sed -i 's|/\*\s*---*---*\s*\*/||g' *.c
# remove comments after the closing function brace, like } /* foo() */
sed -i 's|\s*}\s*/\*.*\*/|}|g' *.c
# Insert new cleanup steps above this comment.
# Keep Lindent as the last step.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment