Hello,

today I found a defect in indent code formatter, details you can see in attachments, feel free to ask in any questions.

--
Bela Signature

Best Regards,
*Dzianis Labanau*

user@my-host:~/tmp$ cat src.cpp
Element *Element::clone(bool copy_data) const
{
  // FIXME
}
user@my-host:~/tmp$ indent -gnu -nut -bli0 -l120 -ip2 -npsl -di2 -npcs -sob -fca src.cpp
user@my-host:~/tmp$ cat src.cpp
Element *Element::clone(bool copy_data) const const
{
  // FIXME
}
user@my-host:~/tmp$ indent -gnu -nut -bli0 -l120 -ip2 -npsl -di2 -npcs -sob -fca src.cpp
user@my-host:~/tmp$ cat src.cpp
  Element *Element::clone(bool copy_data) const const const
  {
    // FIXME
  }
user@my-host:~/tmp$


user@my-host:~/tmp$ indent --version
GNU indent 2.2.11
user@my-host:~/tmp$ uname -a
Linux my-host 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
user@my-host:~/tmp$ 
Element *Element::clone(bool copy_data) const
{
  // FIXME
}
_______________________________________________
bug-indent mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-indent

Reply via email to