Skip to content

Commit

Permalink
fix incorrect vi filetype declarations in generated files
Browse files Browse the repository at this point in the history
Vim's filetype declarations are case sensitive. The correct types for
Perl, C, and Pod are perl, c, and pod, respectively.
  • Loading branch information
mauke authored and demerphq committed Mar 23, 2023
1 parent 3ae398f commit b7eedb0
Show file tree
Hide file tree
Showing 38 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion charclass_invlists.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ebcdic_tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -795,4 +795,4 @@ SOFTWARE.

#endif /* PERL_EBCDIC_TABLES_H_ */

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion embed.h
Original file line number Diff line number Diff line change
Expand Up @@ -2183,4 +2183,4 @@
# endif /* !defined(WIN32) */
#endif /* !defined(PERL_NO_SHORT_NAMES) */

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion embedvar.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion feature.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion l1_char_class_tab.h
Original file line number Diff line number Diff line change
Expand Up @@ -793,4 +793,4 @@

#endif /* EBCDIC 037 */

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion lib/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,4 @@
/version.pod
/version/

# ex: set ro ft=Perl:
# ex: set ro ft=perl:
2 changes: 1 addition & 1 deletion lib/B/Op_private.pm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/feature.pm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/overload/numbers.pm
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,4 @@ our @enums = qw#

{ my $i = 0; our %enums = map { $_ => $i++ } @enums }

# ex: set ro ft=Perl:
# ex: set ro ft=perl:
2 changes: 1 addition & 1 deletion lib/unicore/uni_keywords.pl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/warnings.pm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mg_names.inc
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@
{ PERL_MAGIC_extvalue, "extvalue(^)" },
{ PERL_MAGIC_ext, "ext(~)" },

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion mg_raw.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@
{ '~', "magic_vtable_max | PERL_MAGIC_READONLY_ACCEPTABLE",
"/* ext '~' Variable magic available for use by extensions */" },

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion mg_vtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,4 @@ EXT_MGVTBL PL_magic_vtables[magic_vtable_max];
#define PL_vtbl_uvar PL_magic_vtables[want_vtbl_uvar]
#define PL_vtbl_vec PL_magic_vtables[want_vtbl_vec]

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion miniperlmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,4 @@ xs_init(pTHX)
PERL_UNUSED_CONTEXT;
}

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion opcode.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion opnames.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion overload.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ enum {

#define NofAMmeth max_amg_code

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion overload.inc
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,4 @@ static const char * const PL_AMG_names[NofAMmeth] = {
"(qr"
};

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion packsizetables.inc
Original file line number Diff line number Diff line change
Expand Up @@ -219,4 +219,4 @@ STATIC const packprops_t packprops[512] = {
};
#endif

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion perly.act

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion perly.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion perly.tab

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pp_proto.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion reentr.c
Original file line number Diff line number Diff line change
Expand Up @@ -677,4 +677,4 @@ Perl_reentrant_retry(const char *f, ...)
return retptr;
}

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion reentr.h
Original file line number Diff line number Diff line change
Expand Up @@ -1697,4 +1697,4 @@ typedef struct {

#endif

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion regcharclass.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion regen/feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ sub longest {

__END__
package feature;
our $VERSION = '1.81';
our $VERSION = '1.82';
FEATURES
Expand Down
2 changes: 1 addition & 1 deletion regen/regen_lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ sub read_only_bottom_close_and_rename {
$comment .= "$digest $file\n";
}
}
$comment .= "ex: set ro ft=$lang:";
$comment .= "ex: set ro ft=\L$lang\E:";

if (defined $lang && $lang eq 'Perl') {
$comment =~ s/^/# /mg;
Expand Down
2 changes: 1 addition & 1 deletion regen/warnings.pl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#
# This script is normally invoked from regen.pl.

$VERSION = '1.63';
$VERSION = '1.64';

BEGIN {
require './regen/regen_lib.pl';
Expand Down
2 changes: 1 addition & 1 deletion regnodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -2977,4 +2977,4 @@ EXTCONST U32 PL_EXACT_REQ8_bitmask = 0x1E00;

#endif /* defined(PERL_CORE) || defined(PERL_EXT_RE_BUILD) */

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion scope_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,4 @@ static const U8 leave_scope_arg_counts[] = {

#define MAX_SAVEt 58

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion uconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -5378,4 +5378,4 @@
/* Generated from:
* 8cb1765533e123c379f0207fc2a4f75df4be3e84be3a0da71ab37bcf00e13a46 config_h.SH
* 9c5779a38fbba64b0a5dcf7ce548120a29ea5039350102827f500c812bda10b2 uconfig.sh
* ex: set ro ft=C: */
* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion uni_keywords.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion unicode_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,4 +242,4 @@ bytes.

#endif /* PERL_UNICODE_CONSTANTS_H_ */

/* ex: set ro ft=C: */
/* ex: set ro ft=c: */
2 changes: 1 addition & 1 deletion warnings.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b7eedb0

Please sign in to comment.