Skip to content

Commit 261574d

Browse files
committed
Fix typo
1 parent ca50c2a commit 261574d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

include/deemon/computed-operators.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
DECL_BEGIN
9393

9494
/* Reusable default operators (and operator callbacks that get inherited) */
95-
/*[[[begin::computer-operator-decls]]]*/
95+
/*[[[begin::computed-operator-decls]]]*/
9696
INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_Concat(DeeObject *lhs, DeeObject *rhs);
9797
INTDEF WUNUSED NONNULL((1, 2)) Dee_ssize_t DCALL default_seq_printrepr(DeeObject *__restrict self, Dee_formatprinter_t printer, void *arg);
9898
INTDEF WUNUSED NONNULL((1, 2)) Dee_ssize_t DCALL default_set_printrepr(DeeObject *__restrict self, Dee_formatprinter_t printer, void *arg);
@@ -159,7 +159,7 @@ INTDEF struct type_math default__tp_math__AE7A38D3B0C75E4B;
159159
INTDEF struct type_seq default__tp_seq__2019F6A38C2B50B6;
160160
INTDEF struct type_with default__tp_with__0476D7EDEFD2E7B7;
161161
#endif /* CONFIG_CACHE_UNSUPPORTED_NATIVE_OPERATORS */
162-
/*[[[end::computer-operator-decls]]]*/
162+
/*[[[end::computed-operator-decls]]]*/
163163

164164
INTDEF Dee_hash_t DCALL default__hash__unsupported(DeeObject *__restrict self);
165165

src/deemon/runtime/computed-operators.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ DECL_BEGIN
4343
#endif /* !CONFIG_CACHE_UNSUPPORTED_NATIVE_OPERATORS */
4444

4545
/* Reusable default operators. */
46-
/*[[[begin::computer-operator-impls]]]*/
46+
/*[[[begin::computed-operator-impls]]]*/
4747
INTERN struct type_callable default__tp_callable__414DF0A8610383F3 = {
4848
/* .tp_call_kw = */ (DREF DeeObject *(DCALL *)(DeeObject *, size_t, DeeObject *const *, DeeObject *))&DeeObject_NewKw,
4949
/* .tp_thiscall = */ &default__thiscall__with__call,
@@ -704,7 +704,7 @@ INTERN struct type_with default__tp_with__0476D7EDEFD2E7B7 = {
704704
/* .tp_leave = */ UNSUPPORTED(&default__leave__unsupported),
705705
};
706706
#endif /* CONFIG_CACHE_UNSUPPORTED_NATIVE_OPERATORS */
707-
/*[[[end::computer-operator-impls]]]*/
707+
/*[[[end::computed-operator-impls]]]*/
708708

709709
DECL_END
710710
#endif /* CONFIG_WITHOUT_COMPUTED_DEFAULT_OPERATORS */

util/scripts/computed-operators.dee

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,10 +1233,10 @@ function doPrintComputedOperators(impl: bool) {
12331233

12341234
function printComputedOperators(filename: string) {
12351235
updateFile(filename, oldBytes -> {
1236-
local final DECL_START = "/*[[[begin::computer-operator-decls]]]*/";
1237-
local final DECL_END = "/*[[[end::computer-operator-decls]]]*/";
1238-
local final IMPL_START = "/*[[[begin::computer-operator-impls]]]*/";
1239-
local final IMPL_END = "/*[[[end::computer-operator-impls]]]*/";
1236+
local final DECL_START = "/*[[[begin::computed-operator-decls]]]*/";
1237+
local final DECL_END = "/*[[[end::computed-operator-decls]]]*/";
1238+
local final IMPL_START = "/*[[[begin::computed-operator-impls]]]*/";
1239+
local final IMPL_END = "/*[[[end::computed-operator-impls]]]*/";
12401240
local newBytes = oldBytes;
12411241
local declStart = oldBytes.find(DECL_START);
12421242
if (declStart >= 0) {

0 commit comments

Comments
 (0)