@@ -23,7 +23,7 @@ namespace json
CE_ENSURE(NULL != json);
if (c && c != *json) {
- CE_ASSERT(false, "Expected '%c' got '%c'", c, *json);
+ CE_FATAL("Expected '%c' got '%c'", c, *json);
}
return ++json;
@@ -23,7 +23,7 @@ namespace sjson
@@ -1454,7 +1454,7 @@ void DataCompiler::file_monitor_callback(FileMonitorEvent::Enum fme, bool is_dir
break;
default:
- CE_ASSERT(false, "Unknown FileMonitorEvent: %d", fme);
+ CE_FATAL("Unknown FileMonitorEvent: %d", fme);
@@ -1652,7 +1652,7 @@ namespace shader_resource_internal
case FunctionOp::OP_LOGIC_NOT: a = POP(); PUSH(f32(!a)); break;
case FunctionOp::OP_DEFINED: a = POP(); PUSH(f32(a == 1.0)); break;
- CE_ASSERT(false, "Unknown opcode %d", op_code);
+ CE_FATAL("Unknown opcode %d", op_code);
#undef POP