I suppose this is with a locally modified autoload/netrw.vim.
With the current version I don't see any problem.
When loading a script file the function lines are read to find the
matching :endfunc, without fully parsing them.
I would suggest to delete lines until the problem goes away.
That should pinpoint the problem.
I can't predict it is an actual problem with perhaps a confusing error
message, or a yet undiscovered bug.
--
hundred-and-one symptoms of being an internet addict:
157. You fum through a magazine, you first check to see if it has a web
address.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///