I'm using 6.6B and I still get this error occasionally. You can work around it by adding/removing blank lines until the code compiles.
This bug has been apparent in most of the CVF implementations I've used, from 5.0 onwards. I don't recall seeing it with 6.6A, but it seems quite tempramental anyways, so I can't say it wasn't there.
It's not a real biggie, but it does bugger up our autobuilds occasionally.
Not sure if you can tell anything from the source file, but I've attached it anyway.