colobot/tools/git-grep-braces.sh

5 lines
98 B
Bash
Executable File

#!/bin/bash
# Finds all "hanging" braces
git grep -n -E '^( *[^ ]+)+[^@]\{\s*$' -- '*.cpp' '*.h'