Replacing lots of parseerror calls with compile_error calls and a more correct context information
parsewarning->compile_warning