MantisBT - KWStyle
View Issue Details
0012090KWStyle(No Category)public2011-04-15 05:472011-04-15 05:47
Tom Vercauteren 
 
normalminoralways
newopen 
0012090: Spurious report of too much semicolon space
Not sure if it's considered a bug or a feature but when the following configuration is used
  <SemicolonSpace>0</SemicolonSpace>
KWstyle returns an error for the following piece of code
  for( ; i<10; ++i )
because of the first semicolon.

I consider this to be a spurious error report but other people might not. Can this be configured somehow? If not, can a local patch handle this case easily?
On the attached files, run
KWStyle -v -xml conf.xml sem_bug.cpp
No tags attached.
cpp sem_bug.cpp (100) 2011-04-15 05:47
https://public.kitware.com/Bug/file/3820/sem_bug.cpp
xml conf.xml (231) 2011-04-15 05:47
https://public.kitware.com/Bug/file/3821/conf.xml
Issue History
2011-04-15 05:47Tom VercauterenNew Issue
2011-04-15 05:47Tom VercauterenFile Added: sem_bug.cpp
2011-04-15 05:47Tom VercauterenFile Added: conf.xml

There are no notes attached to this issue.