Supporting macro source info in docs, more robust line range checking.