continuation-indentation bug?

View: New views
1 Messages — Rating Filter:   Alert me  

continuation-indentation bug?

by Filippo Argiolas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi I'm trying to reproduce a indent command line with correspondent
emacs c-mode options but I have a problem with
"--continuation-indentation4".
Usually it does something like:

var foo =
   bar;

But there seem to be an exception with a code like:
/* indent indent -ci4 -il2 --no-tabs -nlp */
/* actual indent output */
static const GstElementDetails element_details =
GST_ELEMENT_DETAILS ("Gstreamer OpenGL Effects",
   "Filter/Effect",
   "GL Shading Language effects",

/* expected indent ouput with "-ci4" */
static const GstElementDetails element_details =
   GST_ELEMENT_DETAILS ("Gstreamer OpenGL Effects",
       "Filter/Effect",
       "GL Shading Language effects",

I'd expect GST_ELEMENT line to be indented with 4 spaces because it's
a continuation of the previous line but it's not indented at all.
Does anybody have a clue?

Thanks,
Filippo


_______________________________________________
bug-indent mailing list
bug-indent@...
http://lists.gnu.org/mailman/listinfo/bug-indent