Copying your code snippet from the post, I only get an error about missing 'w2'. If I change 'w2' to 'in' the code loads.
Typically, these weird errors come from line ending problems -- Mac/unix vs. PC -- or character encoding problems. The tools can't handle UTF or UTF-8.
If you can't find anything, email me your file
as an attachment so that it doesn't get changed along the way.
--Mark