diff options
Diffstat (limited to 'bin/fixincludeguards.sh')
-rwxr-xr-x | bin/fixincludeguards.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fixincludeguards.sh b/bin/fixincludeguards.sh index d788e4878e7d..4c3e409a88dc 100755 --- a/bin/fixincludeguards.sh +++ b/bin/fixincludeguards.sh @@ -77,7 +77,7 @@ for fn in "$@"; do ### clean up endif - sed -i "s/#endif\s*\(\/\/\|\/\*\)\s*\#\?\(ifndef\)\?\s*\(${guard_prefix}${guard}\).*/#endif \/\/ \3/g" "$fn" + sed -i "s/#endif\s*\(\/\/\|\/\*\)\s*\#\?\(ifndef\)\?\s*!\?\s*\(${guard_prefix}${guard}\).*/#endif \/\/ \3/g" "$fn" fi done |