Skip parsing declarations not in the same source file

This feels a little ghetto, but it seems to work as intended.

Fixes #32.