DTRT for c-beginning/end-of-defun in nested declaration scopes.