Formatting
This commit is contained in:
parent
574344c56e
commit
b324596bac
@ -505,8 +505,8 @@ int main(int argc, char **argv, char **envp)
|
|||||||
bool bblank; /* Used to verify block comment terminator */
|
bool bblank; /* Used to verify block comment terminator */
|
||||||
bool ppline; /* True: The next line the continuation of a pre-processor command */
|
bool ppline; /* True: The next line the continuation of a pre-processor command */
|
||||||
bool bexternc; /* True: Within 'extern "C"' */
|
bool bexternc; /* True: Within 'extern "C"' */
|
||||||
int rhcomment; /* Indentation of Comment to the right of code */
|
int rhcomment; /* Indentation of Comment to the right of code */
|
||||||
int prevrhcmt; /* Indentation of previous Comment to the right of code */
|
int prevrhcmt; /* Indentation of previous Comment to the right of code */
|
||||||
int lineno; /* Current line number */
|
int lineno; /* Current line number */
|
||||||
int indent; /* Indentation level */
|
int indent; /* Indentation level */
|
||||||
int ncomment; /* Comment nesting level on this line */
|
int ncomment; /* Comment nesting level on this line */
|
||||||
@ -625,8 +625,8 @@ int main(int argc, char **argv, char **envp)
|
|||||||
bstring = false; /* True: Within a string */
|
bstring = false; /* True: Within a string */
|
||||||
ppline = false; /* True: Continuation of a pre-processor line */
|
ppline = false; /* True: Continuation of a pre-processor line */
|
||||||
bexternc = false; /* True: Within 'extern "C"' */
|
bexternc = false; /* True: Within 'extern "C"' */
|
||||||
rhcomment = 0; /* Indentation of Comment to the right of code */
|
rhcomment = 0; /* Indentation of Comment to the right of code */
|
||||||
prevrhcmt = 0; /* Indentation of previous Comment to the right
|
prevrhcmt = 0; /* Indentation of previous Comment to the right
|
||||||
* of code */
|
* of code */
|
||||||
lineno = 0; /* Current line number */
|
lineno = 0; /* Current line number */
|
||||||
ncomment = 0; /* Comment nesting level on this line */
|
ncomment = 0; /* Comment nesting level on this line */
|
||||||
@ -658,7 +658,7 @@ int main(int argc, char **argv, char **envp)
|
|||||||
* comment.
|
* comment.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
prevrhcmt = rhcomment;
|
prevrhcmt = rhcomment;
|
||||||
if (ncomment <= 0)
|
if (ncomment <= 0)
|
||||||
{
|
{
|
||||||
rhcomment = 0;
|
rhcomment = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user