ADXL193 Accelerometer Assistance Needed!

Are you sure that code is for the Arduino? It seems to be missing some of the code. It does look like a copy error from your pdf. You might want to delete all of the white spaces and use the reformat tool in the IDE. Or use something like Notepad++ and re-type the code in a new file (Do not copy and paste).

I found this, Punch Acceleration Sensor – Part 1 | ABieneman's Blog maybe you can grab some info off the blog to make it work. On the 3rd page it does have an explanation of the code given.