BSD 4_3 release
[unix-history] / usr / src / ucb / error / errorsubr.c
index 31456f3..f377be5 100644 (file)
@@ -1,4 +1,13 @@
-static char *sccsid = "@(#)errorsubr.c 1.5 (Berkeley) 7/1/83";
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)errorsubr.c        5.1 (Berkeley) 5/31/85";
+#endif not lint
+
 #include <stdio.h>
 #include <ctype.h>
 #include "error.h"
 #include <stdio.h>
 #include <ctype.h>
 #include "error.h"
@@ -216,6 +225,8 @@ static      char    riincomment[] = RIINCOMMENT;
 static char    rioutcomment[] = RIOUTCOMMENT;
 static char    troffincomment[] = TROFFINCOMMENT;
 static char    troffoutcomment[] = TROFFOUTCOMMENT;
 static char    rioutcomment[] = RIOUTCOMMENT;
 static char    troffincomment[] = TROFFINCOMMENT;
 static char    troffoutcomment[] = TROFFOUTCOMMENT;
+static char    mod2incomment[] = MOD2INCOMMENT;
+static char    mod2outcomment[] = MOD2OUTCOMMENT;
 
 struct lang_desc lang_table[] = {
        /*INUNKNOWN     0*/     "unknown", cincomment,  coutcomment,
 
 struct lang_desc lang_table[] = {
        /*INUNKNOWN     0*/     "unknown", cincomment,  coutcomment,
@@ -237,6 +248,7 @@ struct      lang_desc lang_table[] = {
        /*INMAKE        16*/    "make", ASINCOMMENT,   newline,
        /*INRI          17*/    "ri",   riincomment,   rioutcomment,
        /*INTROFF       18*/    "troff",troffincomment,troffoutcomment,
        /*INMAKE        16*/    "make", ASINCOMMENT,   newline,
        /*INRI          17*/    "ri",   riincomment,   rioutcomment,
        /*INTROFF       18*/    "troff",troffincomment,troffoutcomment,
+       /*INMOD2        19*/    "mod2", mod2incomment, mod2outcomment,
                                0,      0,           0
 };
 
                                0,      0,           0
 };