Set the line number when generating labels.

    We want to know where errors come from.