Again, make sure it's the proper file you got.
The file at http://acdev.org/XRS_BarClass.lua got the following on line 539: "if (self.statusbar) then"
It is still not checked in SVN, so if you're using the latest SVN version, you will get these errors. I'll try and sucker someone with SVN access to do it for me. :)