slighlty better error messages when runing into syntax errors in .cal files