cv8: Fix line number issues with multiple files.

Patch by: Knut St. Osmundsen

[#263 state:resolved]