Skip to content

Commit bf9f321

Browse files
add a few more file formats and update help
1 parent 0c7a42d commit bf9f321

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

async-toolkit/m3utils/m3utils/copyright/src/CopyrightAdder.m3

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ CONST
4646
Mapping{".zsh", HashStyle},
4747
Mapping{".py", HashStyle},
4848
Mapping{".pl", HashStyle},
49+
Mapping{".pm", HashStyle},
4950
Mapping{".perl", HashStyle},
5051
Mapping{".rb", HashStyle},
5152
Mapping{".tcl", HashStyle},
53+
Mapping{".mk", HashStyle},
5254
Mapping{".c", CStyle},
5355
Mapping{".h", CStyle},
5456
Mapping{".p4", CStyle},
@@ -66,7 +68,8 @@ CONST
6668
Mapping{".cast", SlashStyle},
6769
Mapping{".tex", PercentStyle},
6870
Mapping{".tmpl", PercentStyle},
69-
Mapping{".scm", SemicolonStyle}
71+
Mapping{".scm", SemicolonStyle},
72+
Mapping{".il", SemicolonStyle}
7073
};
7174

7275
VAR
@@ -440,9 +443,10 @@ PROCEDURE PrintUsage() RAISES {Wr.Failure} =
440443
W(" .m3, .i3, .ig, .mg Modula-3 files (* ... *)\n");
441444
W(" .sh, .zsh Shell files # ...\n");
442445
W(" .py Python files # ...\n");
443-
W(" .pl, .perl Perl files # ...\n");
446+
W(" .pl, .perl, .pm Perl files # ...\n");
444447
W(" .rb Ruby files # ...\n");
445448
W(" .tcl Tcl files # ...\n");
449+
W(" .mk Makefiles # ...\n");
446450
W(" .c, .h, .p4 C files /* ... */\n");
447451
W(" .cpp, .java C++/Java files // ...\n");
448452
W(" .scala Scala files // ...\n");
@@ -453,6 +457,7 @@ PROCEDURE PrintUsage() RAISES {Wr.Failure} =
453457
W(" .tex LaTeX files % ...\n");
454458
W(" .tmpl Template files % ...\n");
455459
W(" .scm Scheme files ; ...\n");
460+
W(" .il SKILL files ; ...\n");
456461
END PrintUsage;
457462

458463
PROCEDURE DoIt() =

0 commit comments

Comments
 (0)