bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-indent] const added at the end of a function


From: Thierry ROGER
Subject: [Bug-indent] const added at the end of a function
Date: Sun, 04 Jan 2004 16:48:23 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.5) Gecko/20031010


   Happy new year !


   When const is set at the end of a function declaration, like this :

   int cl_vecteur::dim(int _dim) const
   {
   }

The indentation add a const term, so we obtain the followinf declaration :

   int cl_vecteur::dim(int _dim) const const
   {
   }

I use a the package indent-2.2.9-3mdk sous Mandrake 9.2. The indentation is carried out with anjuta-1.2.0-1mdk.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]