]> git.neil.brown.name Git - edlib.git/commit
c-mode: fix () in first statement after 'case'
authorNeilBrown <neil@brown.name>
Mon, 11 Sep 2023 07:37:49 +0000 (17:37 +1000)
committerNeilBrown <neil@brown.name>
Mon, 11 Sep 2023 07:52:02 +0000 (17:52 +1000)
commit15dc88a84d2bc69901b4857b0d0f9f6405169b85
tree146000e3a8f2177287b72ba26a039110da2a8dab
parent5b884b86aa16f8cc446c468028398c0839b0d7a2
c-mode: fix () in first statement after 'case'

The code to avoid extra-indenting within a {} block in a case also
broke indenting within () or [].
Fix it.

Signed-off-by: NeilBrown <neil@brown.name>
python/render-c-mode.py
tests.d/01-c-mode