bug-indent
[Top][All Lists]
Advanced

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

continuation-indentation bug?


From: Filippo Argiolas
Subject: continuation-indentation bug?
Date: Tue, 17 Mar 2009 21:17:00 +0100

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




reply via email to

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