You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Use additional *single indent* for ``break`` statement in each ``case`` or ``default``:
.. code-block:: c /* OK, every case has single indent */ /* OK, every break has additional indent */ switch (check()) { case 0: do_a(); break; case 1: do_b(); break; default: break; } /* Wrong, case indent missing */ switch (check()) { case 0: do_a(); break; case 1: do_b(); break; default: break; } /* Wrong */ switch (check()) { case 0: do_a(); break; /* Wrong, break must have indent as it is under case */ case 1: do_b(); /* Wrong, indent under case is missing */ break; default: break; }
Here's VSCode Highlighting
How it's rendered
Observation
As #13, the code highliting from the extension and GitHub seems broken.
The text was updated successfully, but these errors were encountered:
Here's my code
Here's VSCode Highlighting
How it's rendered
Observation
As #13, the code highliting from the extension and GitHub seems broken.
The text was updated successfully, but these errors were encountered: