Public bug reported:
using GNU indent 2.2.11
file in test.cpp
void test::test () const
{
}
file out test.cpp after indent
void
test::test () const const
{
}
this is reported here
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=349065
for resolve change in handletoken.c
1452 if ((parser_state_tos->last_token == rparen) &&
1453 parser_state_tos->in_parameter_declaration &&
1454 parser_state_tos->saw_double_colon &&
1455 !strncmp (token, "const", 5))
to
1452 if ((parser_state_tos->last_token == rparen) &&
1453 parser_state_tos->in_parameter_declaration &&
1454 parser_state_tos->saw_double_colon &&
1455 (!strncmp (token, "const", 5)==0))
** Affects: indent (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/978952
Title:
indent duplicate const
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indent/+bug/978952/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs