Package: astyle
Version: 2.04-1

This is a regression.

Expected behaviour (of 2.02.1-1, not in the archive anymore):

$ echo -n '#define foo(...) {}' > stylish.c
$ astyle < stylish.c; echo
#define foo(...) {}

Wrong behaviour (of 2.04-1.1):

$ echo -n '#define foo(...) {}' > stylish.c
$ astyle < stylish.c; echo
#define foo(...) {}}
                   ^ duplicated closing brace

Other characters are duplicated, too, e.g. #endif is changed to #endiff.

Reply via email to