Toc: Pass errors if no atx headers are processed.

Fixes issue #102
I was afraid of that =) I'll figure it out. Thanks for the patch BTW.