public static void RuntimeError(RuntimeError error) { Console.WriteLine(error.Message + $"\n[line {error.Token.Line}]"); #if UNITY_EDITOR Debug.Log(error.Message + $"\n[line {error.Token.Line}]"); #endif hadRuntimeError = true; }
public static void RuntimeError(RuntimeError error) { Console.WriteLine(error.Message + $"\n[line {error.Token.Line}]"); hadRuntimeError = true; }