Skip to content

Commit c38a9d1

Browse files
committed
fixed: typos
1 parent 9144ccb commit c38a9d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/extensions.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ TypeMatch compiler_extension_expand_macro(
377377
if (id != *expansion_id) {
378378
// PROTOCOL ERROR
379379
extension_kill(ext);
380-
onyx_report_error(body->pos, Error_Critical, "Procotol error when talking to '%s'.", ext->name);
380+
onyx_report_error(body->pos, Error_Critical, "Protocol error when talking to '%s'.", ext->name);
381381
return TYPE_MATCH_FAILED;
382382
}
383383

@@ -412,7 +412,7 @@ TypeMatch compiler_extension_expand_macro(
412412

413413
default:
414414
extension_kill(ext);
415-
onyx_report_error(body->pos, Error_Critical, "Procotol error when talking to '%s'.", ext->name);
415+
onyx_report_error(body->pos, Error_Critical, "Protocol error when talking to '%s'.", ext->name);
416416
return TYPE_MATCH_FAILED;
417417
}
418418
}

0 commit comments

Comments
 (0)