Content deleted Content added
No edit summary |
Kuromedayo (talk | contribs) m fill the cite web template |
||
Line 49:
The consistent treatment of blocks as statements (for the purpose of indentation) is a very distinctive feature of the GNU C code formatting style; as is the mandatory space before parentheses. All code formatted in the GNU style has the property that each closing brace, bracket or parenthesis appears ''to the right'' of its corresponding opening delimiter, or in the same column.
Being tightly integrated with the GNU system, [[GNU Emacs]] provides automatic formatting of C code to match the GNU coding standards.<ref>{{cite web |url=https://www.gnu.org/software/emacs/manual/html_mono/ccmode.html#index-GNU-style|title=CC Mode Manual|access-date=2025-04-08}}</ref> Rather than manually modifying code formatting in a way that strays from the GNU coding standards, the formatted layout of the code can be tweaked by writing it in a more Emacs-friendly form—for example, by inserting additional parentheses.
===Splitting long lines===
|