bengardner/uncrustify — pull request #79 by pwaller (2012-05-31 12:23:28+00:00)
Title: Remove semicolons after namespace close brace

Semicolons are un-necessary after namespace close braces. This patch removes them.

Test:

$ echo "mod_remove_extra_semicolon = true" > unc.cnf
$ echo 'namespace test { int blah = 5; };' | uncrustify -L59,60 -l cpp -c unc.cnf
Semi on 1:30, prev = '5' [NUMBER/NONE]
Semi on 1:33, prev = '}' [BRACE_CLOSE/NAMESPACE]
remove_semicolon: Removed semicolon at line 1, col 33
namespace test { int blah = 5; }