Tweak: stops parsing at the close-brace that matches the first open-brace.