sourcefile
A library for concatenating source from multiple files, whilst keeping track of where each new file and line starts.
Examples
Assume the following file is at partial1.py
= 1
= 1
and that the following file is at partial2.py
= 1
= 1
then the following code
extern crate sourcefile;
use SourceFile;
// Assume this function exists, error is offset of unexpected char.
prints
error compiling in "./partial2.py", line 2, col 7.