Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/Add braces and coding style for block code.
- Loading branch information
Showing
17 changed files
with
710 additions
and
550 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
045711e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, code bodies under cases never needed braces and never will.
also, 'case ID:' is kinda special - similar to labels for goto, so it doesn't need increasing indent level.
(and yes, using labels/gotos in some cases makes code much more readable)
i don't get why upstream merged that much...
045711e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, I thought case needed the braces. Oh well.
I was probably a bit liberal with my styling changes.