Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
regen_lib: add some love for vim
Browse files Browse the repository at this point in the history
I am an emacs user, but still vim readonly markers are not hard to add.
For make regen generated files
  • Loading branch information
Reini Urban committed Jul 28, 2015
1 parent 30f0fff commit 5b24ffc
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion ebcdic_tables.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
* This file is built by regen/ebcdic.pl.
* Any changes made here will be lost!
Expand Down
2 changes: 1 addition & 1 deletion embed.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
*
* embed.h
*
Expand Down
2 changes: 1 addition & 1 deletion embedvar.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
*
* embedvar.h
*
Expand Down
2 changes: 1 addition & 1 deletion feature.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
!!!!!!! DO NOT EDIT THIS FILE !!!!!!!
This file is built by regen/feature.pl.
Any changes made here will be lost!
Expand Down
2 changes: 1 addition & 1 deletion l1_char_class_tab.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
* This file is built by regen/mk_PL_charclass.pl from property definitions.
* Any changes made here will be lost!
Expand Down
2 changes: 1 addition & 1 deletion lib/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- buffer-read-only: t -*-
# ex: set ro ft=c: -*- buffer-read-only: t -*-
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is built by regen/lib_cleanup.pl from MANIFEST and parsing files
# in cpan/ dist/ and ext/.
Expand Down
2 changes: 1 addition & 1 deletion lib/B/Op_private.pm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- buffer-read-only: t -*-
# ex: set ro ft=c: -*- buffer-read-only: t -*-
#
# lib/B/Op_private.pm
#
Expand Down
2 changes: 1 addition & 1 deletion lib/feature.pm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- buffer-read-only: t -*-
# ex: set ro ft=c: -*- buffer-read-only: t -*-
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is built by regen/feature.pl.
# Any changes made here will be lost!
Expand Down
2 changes: 1 addition & 1 deletion lib/overload/numbers.pm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- buffer-read-only: t -*-
# ex: set ro ft=c: -*- buffer-read-only: t -*-
#
# lib/overload/numbers.pm
#
Expand Down
2 changes: 1 addition & 1 deletion lib/warnings.pm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- buffer-read-only: t -*-
# ex: set ro ft=c: -*- buffer-read-only: t -*-
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is built by regen/warnings.pl.
# Any changes made here will be lost!
Expand Down
2 changes: 1 addition & 1 deletion mg_names.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
*
* mg_names.c
* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
Expand Down
2 changes: 1 addition & 1 deletion mg_raw.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
*
* mg_raw.h
* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
Expand Down
2 changes: 1 addition & 1 deletion mg_vtable.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
*
* mg_vtable.h
* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
Expand Down
2 changes: 1 addition & 1 deletion miniperlmain.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
!!!!!!! DO NOT EDIT THIS FILE !!!!!!!
This file is built by regen/miniperlmain.pl and ExtUtils::Miniperl.
Any changes made here will be lost!
Expand Down
2 changes: 1 addition & 1 deletion opcode.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
*
* opcode.h
*
Expand Down
2 changes: 1 addition & 1 deletion opnames.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
*
* opnames.h
*
Expand Down
2 changes: 1 addition & 1 deletion overload.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
*
* overload.c
*
Expand Down
2 changes: 1 addition & 1 deletion overload.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
*
* overload.h
*
Expand Down
2 changes: 1 addition & 1 deletion packsizetables.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
!!!!!!! DO NOT EDIT THIS FILE !!!!!!!
This file is built by regen/genpacksizetables.pl from its data.
Any changes made here will be lost!
Expand Down
2 changes: 1 addition & 1 deletion perlapi.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
*
* perlapi.c
*
Expand Down
2 changes: 1 addition & 1 deletion perlapi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
*
* perlapi.h
*
Expand Down
2 changes: 1 addition & 1 deletion pp_proto.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
!!!!!!! DO NOT EDIT THIS FILE !!!!!!!
This file is built by opcode.pl from its data.
Any changes made here will be lost!
Expand Down
2 changes: 1 addition & 1 deletion proto.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
*
* proto.h
*
Expand Down
2 changes: 1 addition & 1 deletion reentr.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
*
* reentr.c
*
Expand Down
2 changes: 1 addition & 1 deletion reentr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
*
* reentr.h
*
Expand Down
2 changes: 1 addition & 1 deletion regen/regen_lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ sub read_only_top {
unless exists $lang_opener{$lang};
my $style = $args{style} ? " $args{style} " : ' ';

my $raw = "-*- buffer-read-only: t -*-\n";
my $raw = "ex: set ro ft=c: -*- buffer-read-only: t -*-\n";

if ($args{file}) {
$raw .= "\n $args{file}\n";
Expand Down
2 changes: 1 addition & 1 deletion regnodes.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
!!!!!!! DO NOT EDIT THIS FILE !!!!!!!
This file is built by regen/regcomp.pl from regcomp.sym.
Any changes made here will be lost!
Expand Down
2 changes: 1 addition & 1 deletion unicode_constants.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
* This file is built by regen/unicode_constants.pl from Unicode data.
* Any changes made here will be lost!
Expand Down
2 changes: 1 addition & 1 deletion warnings.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* -*- buffer-read-only: t -*-
/* ex: set ro ft=c: -*- buffer-read-only: t -*-
!!!!!!! DO NOT EDIT THIS FILE !!!!!!!
This file is built by regen/warnings.pl.
Any changes made here will be lost!
Expand Down

0 comments on commit 5b24ffc

Please sign in to comment.