bug-gnu-emacs
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
bug#27130: c-mode indentation mistreats structs in function arguments
From
:
Sam Pagenkopf
Subject
:
bug#27130: c-mode indentation mistreats structs in function arguments
Date
:
Mon, 29 May 2017 08:33:35 -0500
In emacs 25.2.1.
Relevant code:
draw_add(&battle.draw, (Drawn){
.kind = DRAW_RECT,
.size = {40,24},
.pos.border = {
.align = {ALIGN_LEFT, ALIGN_TOP},
.dist = 3
}
}
);
My guess is that it's reading (Drawn){...} as a statement, and the , as
the (,) C operator.
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
bug#27130: c-mode indentation mistreats structs in function arguments
,
Sam Pagenkopf
<=
Prev by Date:
bug#23451: 25.0.93; Clarify the dependency on find/grep for platforms not having those tools
Next by Date:
bug#27059: Can't compile master branch on Mac OS X
Previous by thread:
bug#23451: 25.0.93; Clarify the dependency on find/grep for platforms not having those tools
Next by thread:
bug#27131: 25.2; Fedora 25 and vxsrv or cygwin x menus off screen
Index(es):
Date
Thread