void compile_error(string file, int line, string err)
This function is called whenever a compile error occurs. line is zero for errors that aren't associated with any specific line. err is not newline terminated.