I have seen this error occur before. I always suspected that there was some extraneous
character that I was cutting-and-pasting in.
Retyping the code into a new source, usually fixes the problem. However, when I just
cut-and-pasted your sample, it rendered fine
here.
Grim