Expose line numbers when parsing from string