diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-05-10 16:51:02 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-05-10 16:51:02 +0000 |
commit | 66610fdd5da795f6de595e815ccc4d1c9f3f4505 (patch) | |
tree | 3e040e06f33275f702454aa4607e4181ad35c589 | |
parent | c69006e4a4556d3b1d6e1a57c49a95b1d16efeb0 (diff) | |
download | perl-66610fdd5da795f6de595e815ccc4d1c9f3f4505.tar.gz |
Add editor boilerplates to all C files
(except the generated ones)
p4raw-id: //depot/perl@24440
-rw-r--r-- | av.c | 10 | ||||
-rw-r--r-- | deb.c | 10 | ||||
-rw-r--r-- | doio.c | 10 | ||||
-rw-r--r-- | doop.c | 2 | ||||
-rw-r--r-- | dump.c | 10 | ||||
-rw-r--r-- | globals.c | 10 | ||||
-rw-r--r-- | gv.c | 10 | ||||
-rw-r--r-- | hv.c | 2 | ||||
-rw-r--r-- | locale.c | 9 | ||||
-rw-r--r-- | malloc.c | 10 | ||||
-rw-r--r-- | mg.c | 10 | ||||
-rw-r--r-- | miniperlmain.c | 10 | ||||
-rw-r--r-- | numeric.c | 10 | ||||
-rw-r--r-- | op.c | 2 | ||||
-rw-r--r-- | pad.c | 10 | ||||
-rw-r--r-- | perl.c | 10 | ||||
-rw-r--r-- | perlio.c | 2 | ||||
-rw-r--r-- | perly.c | 10 | ||||
-rw-r--r-- | pp.c | 2 | ||||
-rw-r--r-- | pp_ctl.c | 2 | ||||
-rw-r--r-- | pp_hot.c | 2 | ||||
-rw-r--r-- | pp_pack.c | 2 | ||||
-rw-r--r-- | pp_sort.c | 2 | ||||
-rw-r--r-- | pp_sys.c | 2 | ||||
-rw-r--r-- | regcomp.c | 2 | ||||
-rw-r--r-- | regexec.c | 10 | ||||
-rw-r--r-- | run.c | 9 | ||||
-rw-r--r-- | scope.c | 2 | ||||
-rw-r--r-- | sv.c | 2 | ||||
-rw-r--r-- | taint.c | 10 | ||||
-rw-r--r-- | toke.c | 2 | ||||
-rw-r--r-- | universal.c | 2 | ||||
-rw-r--r-- | utf8.c | 2 | ||||
-rw-r--r-- | util.c | 9 | ||||
-rw-r--r-- | xsutils.c | 9 |
35 files changed, 200 insertions, 18 deletions
@@ -937,3 +937,13 @@ Perl_av_exists(pTHX_ AV *av, I32 key) else return FALSE; } + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -293,4 +293,12 @@ Perl_deb_stack_all(pTHX) #endif /* DEBUGGING */ } - +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -2443,3 +2443,13 @@ Perl_start_glob (pTHX_ SV *tmpglob, IO *io) LEAVE; return fp; } + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -1419,5 +1419,5 @@ Perl_do_kv(pTHX) * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -1685,3 +1685,13 @@ Perl_debprofdump(pTHX) PL_op_name[i]); } } + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -53,3 +53,13 @@ Perl_printf_nocontext(const char *format, ...) } #include "perlapi.h" /* bring in PL_force_link_funcs */ + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -1989,3 +1989,13 @@ Perl_is_gv_magical(pTHX_ const char *name, STRLEN len, U32 flags) } return FALSE; } + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -2205,5 +2205,5 @@ Perl_hv_assert(pTHX_ HV *hv) * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -620,3 +620,12 @@ Perl_mem_collxfrm(pTHX_ const char *s, STRLEN len, STRLEN *xlen) #endif /* USE_LOCALE_COLLATE */ +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -2573,3 +2573,13 @@ Perl_sbrk(int size) } #endif /* ! defined USE_PERL_SBRK */ + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -2698,4 +2698,12 @@ unwind_handler_stack(pTHX_ const void *p) #endif } - +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ diff --git a/miniperlmain.c b/miniperlmain.c index 53ab947537..48993cdc8a 100644 --- a/miniperlmain.c +++ b/miniperlmain.c @@ -125,3 +125,13 @@ xs_init(pTHX) { dXSUB_SYS; } + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -1018,3 +1018,13 @@ Perl_my_frexpl(long double x, int *e) { return (scalbnl(x, -*e)); } #endif + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -7146,5 +7146,5 @@ const_sv_xsub(pTHX_ CV* cv) * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -1614,3 +1614,13 @@ Perl_pad_compname_type(pTHX_ const PADOFFSET po) } return Nullhv; } + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -4858,3 +4858,13 @@ read_e_script(pTHX_ int idx, SV *buf_sv, int maxlen) sv_chop(PL_e_script, nl); return 1; } + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -5048,5 +5048,5 @@ PerlIO_sprintf(char *s, int n, const char *fmt, ...) * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -698,3 +698,13 @@ Perl_yyparse (pTHX) return yyresult; } + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -4834,5 +4834,5 @@ PP(pp_threadsv) * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -3946,5 +3946,5 @@ S_path_is_absolute(pTHX_ const char *name) * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -3130,5 +3130,5 @@ S_method_common(pTHX_ SV* meth, U32* hashp) * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -3625,5 +3625,5 @@ PP(pp_pack) * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -1927,5 +1927,5 @@ amagic_cmp_locale(pTHX_ register SV *str1, register SV *str2) * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -5883,5 +5883,5 @@ lockf_emulate_flock(int fd, int operation) * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -6386,5 +6386,5 @@ clear_re(pTHX_ void *r) * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -4962,3 +4962,13 @@ S_to_byte_substr(pTHX_ register regexp *prog) prog->check_substr = sv; } } + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -42,3 +42,12 @@ Perl_runops_standard(pTHX) return 0; } +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -1161,5 +1161,5 @@ Perl_cx_dump(pTHX_ PERL_CONTEXT *cx) * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -12489,5 +12489,5 @@ Perl_sv_cat_decode(pTHX_ SV *dsv, SV *encoding, * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -167,3 +167,13 @@ Perl_taint_env(pTHX) } } } + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -10981,5 +10981,5 @@ Perl_scan_vstring(pTHX_ const char *s, SV *sv) * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ diff --git a/universal.c b/universal.c index f13f8af6af..e79bdae02c 100644 --- a/universal.c +++ b/universal.c @@ -958,5 +958,5 @@ XS(XS_Internals_HvREHASH) /* Subject to change */ * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -2037,5 +2037,5 @@ Perl_ibcmp_utf8(pTHX_ const char *s1, char **pe1, register UV l1, bool u1, const * indent-tabs-mode: t * End: * - * vim: shiftwidth=4: + * vim: ts=8 sts=4 sw=4 noet: */ @@ -4777,3 +4777,12 @@ Perl_free_global_struct(pTHX_ struct perl_vars *plvarsp) #endif /* PERL_GLOBAL_STRUCT */ +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ @@ -331,3 +331,12 @@ XS(XS_attributes__warn_reserved) XSRETURN(1); } +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * vim: ts=8 sts=4 sw=4 noet: +*/ |