MantisBT - KWStyle
View Issue Details
0009935KWStylepublic2009-11-20 15:002009-11-20 18:25
Jean-Christophe Fillion-Robin 
Julien Jomier 
normalminorhave not tried
resolvedfixed 
0009935: Static initialization of two array in a row cause indent error
Seems the static initialization of two arrays in a cause an indent error.

Run the following command using the attached file.

KWStyle -v -xml MyAwesomeBug.kws.xml StaticArray2InitInRowBug.cxx

Processing ../StaticArray2InitInRowBug.cxx
Error 0000012 (36) Indent is wrong 2 (should be 4)
A possible trick, see StaticArray2InitInRowBugTrick.cxx

KWStyle -v -xml MyAwesomeBug.kws.xml StaticArray2InitInRowBugTrick.cxx
No tags attached.
cxx StaticArray2InitInRowBug.cxx (1,237) 2009-11-20 15:00
https://public.kitware.com/Bug/file/2671/StaticArray2InitInRowBug.cxx
cxx StaticArray2InitInRowBugTrick.cxx (1,361) 2009-11-20 15:00
https://public.kitware.com/Bug/file/2672/StaticArray2InitInRowBugTrick.cxx
xml MyAwesomeBug.kws.xml (650) 2009-11-20 15:00
https://public.kitware.com/Bug/file/2673/MyAwesomeBug.kws.xml
Issue History
2009-11-20 15:00Jean-Christophe Fillion-RobinNew Issue
2009-11-20 15:00Jean-Christophe Fillion-RobinFile Added: StaticArray2InitInRowBug.cxx
2009-11-20 15:00Jean-Christophe Fillion-RobinFile Added: StaticArray2InitInRowBugTrick.cxx
2009-11-20 15:00Jean-Christophe Fillion-RobinFile Added: MyAwesomeBug.kws.xml
2009-11-20 16:22Julien JomierStatusnew => assigned
2009-11-20 16:22Julien JomierAssigned To => Julien Jomier
2009-11-20 18:25Julien JomierNote Added: 0018497
2009-11-20 18:25Julien JomierStatusassigned => resolved
2009-11-20 18:25Julien JomierResolutionopen => fixed

Notes
(0018497)
Julien Jomier   
2009-11-20 18:25   
Fixed in SVN. Thanks for the report