From eadd5ac512aa9b9ac9d045cf402242c79ee4cb0b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Aug 2025 17:44:49 -0400 Subject: Remove vim modelines --- lib/patterns/patterns.c | 2 -- src/ast.c | 2 -- src/ast.h | 2 -- src/compile.c | 2 -- src/compile.h | 2 -- src/compile/enums.c | 2 -- src/compile/enums.h | 2 -- src/compile/lists.c | 2 -- src/compile/structs.c | 2 -- src/config.h | 2 -- src/environment.c | 2 -- src/environment.h | 2 -- src/modules.c | 2 -- src/modules.h | 2 -- src/naming.c | 2 -- src/naming.h | 2 -- src/parse.c | 2 -- src/parse.h | 2 -- src/stdlib/bools.c | 2 -- src/stdlib/bools.h | 2 -- src/stdlib/bytes.c | 2 -- src/stdlib/bytes.h | 2 -- src/stdlib/c_strings.c | 2 -- src/stdlib/c_strings.h | 2 -- src/stdlib/datatypes.h | 2 -- src/stdlib/enums.c | 2 -- src/stdlib/enums.h | 2 -- src/stdlib/files.c | 2 -- src/stdlib/files.h | 2 -- src/stdlib/functiontype.c | 2 -- src/stdlib/functiontype.h | 2 -- src/stdlib/integers.c | 2 -- src/stdlib/integers.h | 2 -- src/stdlib/lists.c | 2 -- src/stdlib/lists.h | 2 -- src/stdlib/memory.c | 2 -- src/stdlib/memory.h | 2 -- src/stdlib/metamethods.c | 2 -- src/stdlib/metamethods.h | 2 -- src/stdlib/nums.c | 2 -- src/stdlib/nums.h | 2 -- src/stdlib/optionals.c | 2 -- src/stdlib/optionals.h | 2 -- src/stdlib/paths.c | 2 -- src/stdlib/paths.h | 2 -- src/stdlib/pointers.c | 2 -- src/stdlib/pointers.h | 2 -- src/stdlib/print.c | 2 -- src/stdlib/print.h | 2 -- src/stdlib/simpleparse.c | 2 -- src/stdlib/simpleparse.h | 2 -- src/stdlib/siphash-internals.h | 2 -- src/stdlib/siphash.c | 2 -- src/stdlib/siphash.h | 2 -- src/stdlib/stacktrace.c | 2 -- src/stdlib/stdlib.c | 2 -- src/stdlib/stdlib.h | 2 -- src/stdlib/structs.c | 2 -- src/stdlib/structs.h | 2 -- src/stdlib/tables.c | 2 -- src/stdlib/tables.h | 2 -- src/stdlib/text.c | 2 -- src/stdlib/text.h | 2 -- src/stdlib/tomo.h | 2 -- src/stdlib/types.c | 2 -- src/stdlib/types.h | 1 - src/stdlib/util.h | 2 -- src/tomo.c | 2 -- src/typecheck.c | 2 -- src/typecheck.h | 2 -- src/types.c | 2 -- src/types.h | 2 -- 72 files changed, 143 deletions(-) diff --git a/lib/patterns/patterns.c b/lib/patterns/patterns.c index 9d888eb9..27799c40 100644 --- a/lib/patterns/patterns.c +++ b/lib/patterns/patterns.c @@ -1210,5 +1210,3 @@ static Text_t Pattern$as_text(const void *obj, bool colorize, const TypeInfo_t * Text_t quote = Pattern$has(pat, Text("/")) && !Pattern$has(pat, Text("|")) ? Text("|") : Text("/"); return Text$concat(colorize ? Text("\x1b[1m$\033[m") : Text("$"), Text$quoted(pat, colorize, quote)); } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/ast.c b/src/ast.c index 7367580c..f1e1ff0c 100644 --- a/src/ast.c +++ b/src/ast.c @@ -445,5 +445,3 @@ CONSTFUNC ast_e binop_tag(ast_e tag) { default: return Unknown; } } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/ast.h b/src/ast.h index 814dfbd9..96040413 100644 --- a/src/ast.h +++ b/src/ast.h @@ -483,5 +483,3 @@ CONSTFUNC const char *binop_method_name(ast_e tag); CONSTFUNC const char *binop_operator(ast_e tag); CONSTFUNC ast_e binop_tag(ast_e tag); CONSTFUNC bool is_binary_operation(ast_t *ast); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/compile.c b/src/compile.c index 2ead44c4..abbf753d 100644 --- a/src/compile.c +++ b/src/compile.c @@ -733,5 +733,3 @@ Text_t compile(env_t *env, ast_t *ast) { } return EMPTY_TEXT; } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/compile.h b/src/compile.h index 8e9e5f82..18143e25 100644 --- a/src/compile.h +++ b/src/compile.h @@ -10,5 +10,3 @@ Text_t compile(env_t *env, ast_t *ast); Text_t compile_empty(type_t *t); Text_t compile_maybe_incref(env_t *env, ast_t *ast, type_t *t); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/compile/enums.c b/src/compile/enums.c index d2b4d9a1..759d3bc0 100644 --- a/src/compile/enums.c +++ b/src/compile/enums.c @@ -177,5 +177,3 @@ Text_t compile_enum_field_access(env_t *env, ast_t *ast) { } code_err(ast, "The field '", f->field, "' is not a valid tag name of ", type_to_str(value_t)); } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/compile/enums.h b/src/compile/enums.h index bcb34ddc..2d4dd791 100644 --- a/src/compile/enums.h +++ b/src/compile/enums.h @@ -11,5 +11,3 @@ Text_t compile_enum_constructors(env_t *env, ast_t *ast); Text_t compile_enum_field_access(env_t *env, ast_t *ast); Text_t compile_enum_header(env_t *env, ast_t *ast); Text_t compile_enum_typeinfo(env_t *env, ast_t *ast); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/compile/lists.c b/src/compile/lists.c index 515613cb..e5c5dcca 100644 --- a/src/compile/lists.c +++ b/src/compile/lists.c @@ -274,5 +274,3 @@ Text_t compile_list_method_call(env_t *env, ast_t *ast) { code_err(ast, "There is no '", call->name, "' method for lists"); } } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/compile/structs.c b/src/compile/structs.c index 266977a0..af012cd5 100644 --- a/src/compile/structs.c +++ b/src/compile/structs.c @@ -136,5 +136,3 @@ Text_t compile_struct_literal(env_t *env, ast_t *ast, type_t *t, arg_ast_t *args } code_err(ast, "I could not find a constructor matching these arguments for the struct ", type_to_str(t)); } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/config.h b/src/config.h index 4c750f19..1afbb3e5 100644 --- a/src/config.h +++ b/src/config.h @@ -23,5 +23,3 @@ #define SUDO "sudo" #endif #endif - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/environment.c b/src/environment.c index f7956054..a32f1a28 100644 --- a/src/environment.c +++ b/src/environment.c @@ -749,5 +749,3 @@ void set_binding(env_t *env, const char *name, type_t *type, Text_t code) { assert(name); Table$str_set(env->locals, name, new (binding_t, .type = type, .code = code)); } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/environment.h b/src/environment.h index 2c646ad3..293b10a8 100644 --- a/src/environment.h +++ b/src/environment.h @@ -87,5 +87,3 @@ binding_t *get_namespace_binding(env_t *env, ast_t *self, const char *name); extern type_t *TEXT_TYPE; extern type_t *PATH_TYPE; extern type_t *PATH_TYPE_TYPE; - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/modules.c b/src/modules.c index d891f64a..a62e7846 100644 --- a/src/modules.c +++ b/src/modules.c @@ -124,5 +124,3 @@ bool try_install_module(module_info_t mod) { return false; } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/modules.h b/src/modules.h index 36b05d3d..91e17043 100644 --- a/src/modules.h +++ b/src/modules.h @@ -10,5 +10,3 @@ typedef struct { module_info_t get_module_info(ast_t *use); bool try_install_module(module_info_t mod); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/naming.c b/src/naming.c index d0c7cfac..376a176c 100644 --- a/src/naming.c +++ b/src/naming.c @@ -115,5 +115,3 @@ Text_t get_id_suffix(const char *filename) { if (id.length < 0) err(1, "Could not read ID file: %s", id_file); return Texts(Text("$"), id); } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/naming.h b/src/naming.h index 30d4d061..8b4da8b2 100644 --- a/src/naming.h +++ b/src/naming.h @@ -8,5 +8,3 @@ Text_t valid_c_name(const char *name); Text_t namespace_name(env_t *env, namespace_t *ns, Text_t name); Text_t get_id_suffix(const char *filename); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/parse.c b/src/parse.c index 4eb09695..2e0413b4 100644 --- a/src/parse.c +++ b/src/parse.c @@ -2368,5 +2368,3 @@ ast_t *parse_expression(const char *str) { parser_err(&ctx, pos, pos + strlen(pos), "I couldn't parse this part of the string"); return ast; } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/parse.h b/src/parse.h index 4de2565b..7d16b995 100644 --- a/src/parse.h +++ b/src/parse.h @@ -10,5 +10,3 @@ type_ast_t *parse_type_str(const char *str); ast_t *parse_file(const char *path, jmp_buf *on_err); ast_t *parse(const char *str); ast_t *parse_expression(const char *str); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/bools.c b/src/stdlib/bools.c index 0231e21b..dc7b83b1 100644 --- a/src/stdlib/bools.c +++ b/src/stdlib/bools.c @@ -60,5 +60,3 @@ const TypeInfo_t Bool$info = { .is_none = Bool$is_none, }, }; - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/bools.h b/src/stdlib/bools.h index 3eac0f0d..52bd45a8 100644 --- a/src/stdlib/bools.h +++ b/src/stdlib/bools.h @@ -21,5 +21,3 @@ MACROLIKE Bool_t Bool$from_int8(Int8_t i) { return (i != 0); } MACROLIKE Bool_t Bool$from_byte(uint8_t b) { return (b != 0); } extern const TypeInfo_t Bool$info; - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/bytes.c b/src/stdlib/bytes.c index d4bd5ef6..db12e501 100644 --- a/src/stdlib/bytes.c +++ b/src/stdlib/bytes.c @@ -141,5 +141,3 @@ const TypeInfo_t Byte$info = { .as_text = Byte$as_text, }, }; - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/bytes.h b/src/stdlib/bytes.h index b5e352d0..f99e39ee 100644 --- a/src/stdlib/bytes.h +++ b/src/stdlib/bytes.h @@ -31,5 +31,3 @@ extern const TypeInfo_t Byte$info; Text_t Byte$hex(Byte_t byte, bool uppercase, bool prefix); bool Byte$get_bit(Byte_t x, Int_t bit_index); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/c_strings.c b/src/stdlib/c_strings.c index b965f04b..e28e8c20 100644 --- a/src/stdlib/c_strings.c +++ b/src/stdlib/c_strings.c @@ -78,5 +78,3 @@ const TypeInfo_t CString$info = { .deserialize = CString$deserialize, }, }; - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/c_strings.h b/src/stdlib/c_strings.h index 4df5c3ac..d009c8bd 100644 --- a/src/stdlib/c_strings.h +++ b/src/stdlib/c_strings.h @@ -14,5 +14,3 @@ PUREFUNC bool CString$equal(const void *x, const void *y, const TypeInfo_t *type PUREFUNC uint64_t CString$hash(const void *str, const TypeInfo_t *type); extern const TypeInfo_t CString$info; - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/datatypes.h b/src/stdlib/datatypes.h index 5d016246..81ad8db2 100644 --- a/src/stdlib/datatypes.h +++ b/src/stdlib/datatypes.h @@ -121,5 +121,3 @@ typedef struct { } OptionalByte_t; #define NONE_BYTE ((OptionalByte_t){.is_none = true}) - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/enums.c b/src/stdlib/enums.c index 7f7c4284..b9b970fa 100644 --- a/src/stdlib/enums.c +++ b/src/stdlib/enums.c @@ -98,5 +98,3 @@ void Enum$deserialize(FILE *in, void *outval, List_t *pointers, const TypeInfo_t _deserialize(in, outval + value_offset(type), pointers, value.type); } } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/enums.h b/src/stdlib/enums.h index 99a0f615..df6f7e88 100644 --- a/src/stdlib/enums.h +++ b/src/stdlib/enums.h @@ -36,5 +36,3 @@ void Enum$deserialize(FILE *in, void *outval, List_t *pointers, const TypeInfo_t .serialize = Enum$serialize, \ .deserialize = Enum$deserialize, \ } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/files.c b/src/stdlib/files.c index 08023e0e..b8f493e3 100644 --- a/src/stdlib/files.c +++ b/src/stdlib/files.c @@ -309,5 +309,3 @@ int highlight_error(file_t *file, const char *start, const char *end, const char fflush(stderr); return printed; } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/files.h b/src/stdlib/files.h index d3e5ebe8..ebece6f0 100644 --- a/src/stdlib/files.h +++ b/src/stdlib/files.h @@ -25,5 +25,3 @@ __attribute__((pure, nonnull)) const char *get_line(file_t *f, int64_t line_numb __attribute__((pure, nonnull)) const char *get_file_pos(file_t *f, const char *p); int highlight_error(file_t *file, const char *start, const char *end, const char *hl_color, int64_t context_lines, bool use_color); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/functiontype.c b/src/stdlib/functiontype.c index a6e12798..3270e0ca 100644 --- a/src/stdlib/functiontype.c +++ b/src/stdlib/functiontype.c @@ -21,5 +21,3 @@ PUREFUNC bool Func$is_none(const void *obj, const TypeInfo_t *info) { (void)info; return *(void **)obj == NULL; } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/functiontype.h b/src/stdlib/functiontype.h index 3169cfc9..ab0600be 100644 --- a/src/stdlib/functiontype.h +++ b/src/stdlib/functiontype.h @@ -35,5 +35,3 @@ PUREFUNC bool Func$is_none(const void *obj, const TypeInfo_t *); .tag = FunctionInfo, \ .FunctionInfo.type_str = typestr, \ .metamethods = Func$metamethods}) - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/integers.c b/src/stdlib/integers.c index 93095a70..082ca211 100644 --- a/src/stdlib/integers.c +++ b/src/stdlib/integers.c @@ -742,5 +742,3 @@ DEFINE_INT_TYPE(int32_t, Int32, INT32_MIN, INT32_MAX, CONSTFUNC) DEFINE_INT_TYPE(int16_t, Int16, INT16_MIN, INT16_MAX, CONSTFUNC) DEFINE_INT_TYPE(int8_t, Int8, INT8_MIN, INT8_MAX, CONSTFUNC) #undef DEFINE_INT_TYPE - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/integers.h b/src/stdlib/integers.h index a7249495..accc0166 100644 --- a/src/stdlib/integers.h +++ b/src/stdlib/integers.h @@ -391,5 +391,3 @@ MACROLIKE PUREFUNC Int8_t Int8$from_int16(Int16_t i16, bool truncate) { #ifdef __GNUC__ #pragma GCC diagnostic pop #endif - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/lists.c b/src/stdlib/lists.c index 24383609..bae79dfd 100644 --- a/src/stdlib/lists.c +++ b/src/stdlib/lists.c @@ -772,5 +772,3 @@ void List$deserialize(FILE *in, void *obj, List_t *pointers, const TypeInfo_t *t } *(List_t *)obj = list; } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/lists.h b/src/stdlib/lists.h index afda3d74..33279566 100644 --- a/src/stdlib/lists.h +++ b/src/stdlib/lists.h @@ -200,5 +200,3 @@ void List$deserialize(FILE *in, void *obj, List_t *pointers, const TypeInfo_t *t .tag = ListInfo, \ .ListInfo.item = item_info, \ .metamethods = List$metamethods}) - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/memory.c b/src/stdlib/memory.c index 90e14261..65d0fbc6 100644 --- a/src/stdlib/memory.c +++ b/src/stdlib/memory.c @@ -31,5 +31,3 @@ const TypeInfo_t Memory$info = { .deserialize = cannot_deserialize, }, }; - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/memory.h b/src/stdlib/memory.h index e03d5931..56be103e 100644 --- a/src/stdlib/memory.h +++ b/src/stdlib/memory.h @@ -9,5 +9,3 @@ extern const TypeInfo_t Memory$info; Text_t Memory$as_text(const void *p, bool colorize, const TypeInfo_t *type); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/metamethods.c b/src/stdlib/metamethods.c index ea06d20b..6161918c 100644 --- a/src/stdlib/metamethods.c +++ b/src/stdlib/metamethods.c @@ -103,5 +103,3 @@ void cannot_deserialize(FILE *in, void *obj, List_t *pointers, const TypeInfo_t Text_t typestr = generic_as_text(NULL, false, type); fail("Values of type ", typestr, " cannot be serialized or deserialized!"); } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/metamethods.h b/src/stdlib/metamethods.h index eda2230e..18598920 100644 --- a/src/stdlib/metamethods.h +++ b/src/stdlib/metamethods.h @@ -18,5 +18,3 @@ void generic_deserialize(List_t bytes, void *outval, const TypeInfo_t *type); int generic_print(const void *obj, bool colorize, const TypeInfo_t *type); void cannot_serialize(const void *, FILE *, Table_t *, const TypeInfo_t *type); void cannot_deserialize(FILE *, void *, List_t *, const TypeInfo_t *type); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/nums.c b/src/stdlib/nums.c index 05ed14a8..55131cfd 100644 --- a/src/stdlib/nums.c +++ b/src/stdlib/nums.c @@ -259,5 +259,3 @@ const TypeInfo_t Num32$info = { .is_none = Num32$is_none, }, }; - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/nums.h b/src/stdlib/nums.h index 6e6e1431..b73b0dc5 100644 --- a/src/stdlib/nums.h +++ b/src/stdlib/nums.h @@ -129,5 +129,3 @@ MACROLIKE CONSTFUNC float Num32$from_int8(Int8_t i) { return (float)i; } MACROLIKE CONSTFUNC float Num32$from_byte(Byte_t i) { return (float)i; } extern const TypeInfo_t Num32$info; - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/optionals.c b/src/stdlib/optionals.c index a6f943ae..e9184e4d 100644 --- a/src/stdlib/optionals.c +++ b/src/stdlib/optionals.c @@ -73,5 +73,3 @@ void Optional$deserialize(FILE *in, void *outval, List_t *pointers, const TypeIn else memset(outval, 0, (size_t)type->size); } } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1 diff --git a/src/stdlib/optionals.h b/src/stdlib/optionals.h index 77ce6db4..1a50007f 100644 --- a/src/stdlib/optionals.h +++ b/src/stdlib/optionals.h @@ -41,5 +41,3 @@ void Optional$deserialize(FILE *in, void *outval, List_t *pointers, const TypeIn .tag = OptionalInfo, \ .OptionalInfo.type = t, \ .metamethods = Optional$metamethods}) - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/paths.c b/src/stdlib/paths.c index efe9f7ad..66f9eaa1 100644 --- a/src/stdlib/paths.c +++ b/src/stdlib/paths.c @@ -825,5 +825,3 @@ const TypeInfo_t PathType$info = { .tags = ((NamedType_t[3]){{.name = "Relative"}, {.name = "Absolute"}, {.name = "Home"}}), }, }; - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/paths.h b/src/stdlib/paths.h index 7f0d8830..62deaf75 100644 --- a/src/stdlib/paths.h +++ b/src/stdlib/paths.h @@ -70,5 +70,3 @@ void Path$deserialize(FILE *in, void *obj, List_t *pointers, const TypeInfo_t *t extern const TypeInfo_t Path$info; extern const TypeInfo_t PathType$info; - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/pointers.c b/src/stdlib/pointers.c index e94ede6d..13e1b2ed 100644 --- a/src/stdlib/pointers.c +++ b/src/stdlib/pointers.c @@ -120,5 +120,3 @@ void Pointer$deserialize(FILE *in, void *outval, List_t *pointers, const TypeInf *(void **)outval = *(void **)(pointers->data + (id - 1) * pointers->stride); } } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/pointers.h b/src/stdlib/pointers.h index 522a97be..0c62e18c 100644 --- a/src/stdlib/pointers.h +++ b/src/stdlib/pointers.h @@ -40,5 +40,3 @@ void Pointer$deserialize(FILE *in, void *outval, List_t *pointers, const TypeInf .tag = PointerInfo, \ .PointerInfo = {.sigil = sigil_expr, .pointed = pointed_info}, \ .metamethods = Pointer$metamethods}) - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/print.c b/src/stdlib/print.c index d246c9c3..5f96c2a5 100644 --- a/src/stdlib/print.c +++ b/src/stdlib/print.c @@ -246,5 +246,3 @@ FILE *gc_memory_stream(char **buf, size_t *size) { #else #error "This platform doesn't support fopencookie() or funopen()!" #endif - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/print.h b/src/stdlib/print.h index c7e59f8b..eba1c9d9 100644 --- a/src/stdlib/print.h +++ b/src/stdlib/print.h @@ -164,5 +164,3 @@ FILE *gc_memory_stream(char **buf, size_t *size); fprint(stderr, "\033[31;1m", __VA_ARGS__, "\033[m"); \ exit(EXIT_FAILURE); \ }) - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/simpleparse.c b/src/stdlib/simpleparse.c index 3929c32b..73c0714f 100644 --- a/src/stdlib/simpleparse.c +++ b/src/stdlib/simpleparse.c @@ -128,5 +128,3 @@ const char *simpleparse(const char *str, int n, parse_type_e types[n], void *des } return NULL; } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/simpleparse.h b/src/stdlib/simpleparse.h index d35a8b3b..6435807f 100644 --- a/src/stdlib/simpleparse.h +++ b/src/stdlib/simpleparse.h @@ -60,5 +60,3 @@ typedef struct { }) const char *simpleparse(const char *str, int n, parse_type_e types[n], void *destinations[n]); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/siphash-internals.h b/src/stdlib/siphash-internals.h index c8ec1142..3ad1d789 100644 --- a/src/stdlib/siphash-internals.h +++ b/src/stdlib/siphash-internals.h @@ -123,5 +123,3 @@ MACROLIKE uint64_t siphashfinish(siphash *sh, const uint8_t *src, size_t src_sz) } return siphashfinish_last_part(sh, t.u64); } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/siphash.c b/src/stdlib/siphash.c index 9af845e7..bcf61b34 100644 --- a/src/stdlib/siphash.c +++ b/src/stdlib/siphash.c @@ -81,5 +81,3 @@ PUREFUNC public uint64_t siphash24(const uint8_t *src, size_t src_sz) { return siphashfinish(&sh, (uint8_t *)in, src_sz); } } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/siphash.h b/src/stdlib/siphash.h index 3dbef0fd..98f1a6a1 100644 --- a/src/stdlib/siphash.h +++ b/src/stdlib/siphash.h @@ -11,5 +11,3 @@ extern uint64_t TOMO_HASH_KEY[2]; PUREFUNC uint64_t siphash24(const uint8_t *src, size_t src_sz); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/stacktrace.c b/src/stdlib/stacktrace.c index 9f01a4bf..2a54125c 100644 --- a/src/stdlib/stacktrace.c +++ b/src/stdlib/stacktrace.c @@ -127,5 +127,3 @@ void print_stacktrace(FILE *out, int offset) { } free(strings); } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/stdlib.c b/src/stdlib/stdlib.c index 411ce300..17b5c72c 100644 --- a/src/stdlib/stdlib.c +++ b/src/stdlib/stdlib.c @@ -619,5 +619,3 @@ OptionalText_t getenv_text(Text_t name) { public void setenv_text(Text_t name, Text_t value) { setenv(Text$as_c_string(name), Text$as_c_string(value), 1); } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/stdlib.h b/src/stdlib/stdlib.h index c676beb1..d68e6ddb 100644 --- a/src/stdlib/stdlib.h +++ b/src/stdlib/stdlib.h @@ -99,5 +99,3 @@ bool pop_flag(char **argv, int *i, const char *flag, Text_t *result); void sleep_num(double seconds); OptionalText_t getenv_text(Text_t name); void setenv_text(Text_t name, Text_t value); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/structs.c b/src/stdlib/structs.c index d2300b74..b08d7967 100644 --- a/src/stdlib/structs.c +++ b/src/stdlib/structs.c @@ -215,5 +215,3 @@ void Struct$deserialize(FILE *in, void *outval, List_t *pointers, const TypeInfo } } } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/structs.h b/src/stdlib/structs.h index 03c051ec..368a670a 100644 --- a/src/stdlib/structs.h +++ b/src/stdlib/structs.h @@ -38,5 +38,3 @@ void Struct$deserialize(FILE *in, void *outval, List_t *pointers, const TypeInfo .serialize = Struct$serialize, \ .deserialize = Struct$deserialize, \ } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/tables.c b/src/stdlib/tables.c index 781da415..fabdad4f 100644 --- a/src/stdlib/tables.c +++ b/src/stdlib/tables.c @@ -763,5 +763,3 @@ void Table$deserialize(FILE *in, void *outval, List_t *pointers, const TypeInfo_ #ifdef __GNUC__ #pragma GCC diagnostic pop #endif - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1 diff --git a/src/stdlib/tables.h b/src/stdlib/tables.h index 65f35060..4d719ed5 100644 --- a/src/stdlib/tables.h +++ b/src/stdlib/tables.h @@ -157,5 +157,3 @@ extern const TypeInfo_t CStrToVoidStarTable; .TableInfo.key = item_info, \ .TableInfo.value = &Void$info, \ .metamethods = Table$metamethods}) - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1 diff --git a/src/stdlib/text.c b/src/stdlib/text.c index aad3fd76..7f771b14 100644 --- a/src/stdlib/text.c +++ b/src/stdlib/text.c @@ -1764,5 +1764,3 @@ const TypeInfo_t Text$info = { .TextInfo = {.lang = "Text"}, .metamethods = Text$metamethods, }; - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/text.h b/src/stdlib/text.h index 6bedcb60..f31ee05c 100644 --- a/src/stdlib/text.h +++ b/src/stdlib/text.h @@ -108,5 +108,3 @@ extern Text_t EMPTY_TEXT; .serialize = Text$serialize, \ .deserialize = Text$deserialize, \ } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/tomo.h b/src/stdlib/tomo.h index d0463409..feeedf47 100644 --- a/src/stdlib/tomo.h +++ b/src/stdlib/tomo.h @@ -30,5 +30,3 @@ #include "tables.h" #include "text.h" #include "types.h" - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/types.c b/src/stdlib/types.c index e64195fe..e52fd39b 100644 --- a/src/stdlib/types.c +++ b/src/stdlib/types.c @@ -19,5 +19,3 @@ public const TypeInfo_t Void$info = {.size = 0, .align = 0, .tag = StructInfo}; public const TypeInfo_t Abort$info = {.size = 0, .align = 0, .tag = StructInfo}; - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/types.h b/src/stdlib/types.h index a6509183..c8e8038d 100644 --- a/src/stdlib/types.h +++ b/src/stdlib/types.h @@ -113,4 +113,3 @@ Text_t Type$as_text(const void *typeinfo, bool colorize, const TypeInfo_t *type) }; \ }; \ } name -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/stdlib/util.h b/src/stdlib/util.h index 819cecd9..a789c5f0 100644 --- a/src/stdlib/util.h +++ b/src/stdlib/util.h @@ -72,5 +72,3 @@ #define MACROLIKE extern inline __attribute__((gnu_inline, always_inline)) #endif #endif - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/tomo.c b/src/tomo.c index 4c875b62..6dfe687c 100644 --- a/src/tomo.c +++ b/src/tomo.c @@ -823,5 +823,3 @@ Path_t compile_executable(env_t *base_env, Path_t path, Path_t exe_path, List_t if (!quiet) print("Compiled executable:\t", exe_path); return exe_path; } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/typecheck.c b/src/typecheck.c index db55ebac..bedc4121 100644 --- a/src/typecheck.c +++ b/src/typecheck.c @@ -1798,5 +1798,3 @@ PUREFUNC bool can_compile_to_type(env_t *env, ast_t *ast, type_t *needed) { return can_promote(actual, needed); } } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/typecheck.h b/src/typecheck.h index 34fc33a1..1790f227 100644 --- a/src/typecheck.h +++ b/src/typecheck.h @@ -33,5 +33,3 @@ typedef struct { } call_opts_t; bool is_valid_call(env_t *env, arg_t *spec_args, arg_ast_t *call_args, call_opts_t options); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/types.c b/src/types.c index e3a6efb5..86336f5a 100644 --- a/src/types.c +++ b/src/types.c @@ -771,5 +771,3 @@ PUREFUNC bool enum_has_fields(type_t *t) { } return false; } - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/src/types.h b/src/types.h index 2fd1526c..dcb1a442 100644 --- a/src/types.h +++ b/src/types.h @@ -169,5 +169,3 @@ type_t *get_field_type(type_t *t, const char *field_name); PUREFUNC type_t *get_iterated_type(type_t *t); type_t *_make_function_type(type_t *ret, int n, arg_t args[n]); PUREFUNC bool enum_has_fields(type_t *t); - -// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 -- cgit v1.2.3