summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-11-19 22:16:44 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-11-19 22:16:44 +0000
commite60f3f793032ee0cd2c334ca3ec203de1fd3e727 (patch)
tree3a85d3849f7c92d31aaf22433785a4b4badc8f32 /usr.bin
parent02045c29b2f8be4b3753719ed054522c92770354 (diff)
we don't keep vim modelines in files
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/lex/buf.c4
-rw-r--r--usr.bin/lex/filter.c4
-rw-r--r--usr.bin/lex/initskel.c3
-rw-r--r--usr.bin/lex/options.c4
-rw-r--r--usr.bin/lex/options.h4
-rw-r--r--usr.bin/lex/regex.c4
-rw-r--r--usr.bin/lex/scanflags.c4
-rw-r--r--usr.bin/lex/scanopt.c5
-rw-r--r--usr.bin/lex/scanopt.h3
-rw-r--r--usr.bin/lex/tables.c4
-rw-r--r--usr.bin/lex/tables.h4
-rw-r--r--usr.bin/lex/tables_shared.h4
12 files changed, 12 insertions, 35 deletions
diff --git a/usr.bin/lex/buf.c b/usr.bin/lex/buf.c
index 89c6cc9d81d..9fe8aea9f84 100644
--- a/usr.bin/lex/buf.c
+++ b/usr.bin/lex/buf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.c,v 1.1 2015/11/19 19:43:40 tedu Exp $ */
+/* $OpenBSD: buf.c,v 1.2 2015/11/19 22:16:43 tedu Exp $ */
/* flex - tool to generate fast lexical analyzers */
@@ -273,5 +273,3 @@ struct Buf *buf_append (buf, ptr, n_elem)
return buf;
}
-
-/* vim:set tabstop=8 softtabstop=4 shiftwidth=4: */
diff --git a/usr.bin/lex/filter.c b/usr.bin/lex/filter.c
index 7b099e0f993..109a220de6f 100644
--- a/usr.bin/lex/filter.c
+++ b/usr.bin/lex/filter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: filter.c,v 1.1 2015/11/19 19:43:40 tedu Exp $ */
+/* $OpenBSD: filter.c,v 1.2 2015/11/19 22:16:43 tedu Exp $ */
/* filter - postprocessing of flex output through filters */
@@ -442,5 +442,3 @@ int filter_fix_linedirs (struct filter *chain)
return 0;
}
-
-/* vim:set expandtab cindent tabstop=4 softtabstop=4 shiftwidth=4 textwidth=0: */
diff --git a/usr.bin/lex/initskel.c b/usr.bin/lex/initskel.c
index 2316ae6c294..a0519b0bcb6 100644
--- a/usr.bin/lex/initskel.c
+++ b/usr.bin/lex/initskel.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: initskel.c,v 1.1 2015/11/19 19:43:40 tedu Exp $ */
+/* $OpenBSD: initskel.c,v 1.2 2015/11/19 22:16:43 tedu Exp $ */
/* File created from flex.skl via mkskel.sh */
@@ -1374,7 +1374,6 @@ const char *skel[] = {
"%ok-for-header",
"#endif",
"",
- "/* vim:set noexpandtab cindent tabstop=8 softtabstop=0 shiftwidth=8 textwidth=0: */",
"",
"",
"/* Load the DFA tables from the given stream. */",
diff --git a/usr.bin/lex/options.c b/usr.bin/lex/options.c
index 3c6f1a01523..097cf1a2636 100644
--- a/usr.bin/lex/options.c
+++ b/usr.bin/lex/options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options.c,v 1.1 2015/11/19 19:43:40 tedu Exp $ */
+/* $OpenBSD: options.c,v 1.2 2015/11/19 22:16:43 tedu Exp $ */
/* flex - tool to generate fast lexical analyzers */
@@ -278,5 +278,3 @@ optspec_t flexopts[] = {
{0, 0, 0} /* required final NULL entry. */
};
-
-/* vim:set tabstop=8 softtabstop=4 shiftwidth=4: */
diff --git a/usr.bin/lex/options.h b/usr.bin/lex/options.h
index 49dd97383f5..ac5a87c328b 100644
--- a/usr.bin/lex/options.h
+++ b/usr.bin/lex/options.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: options.h,v 1.1 2015/11/19 19:43:40 tedu Exp $ */
+/* $OpenBSD: options.h,v 1.2 2015/11/19 22:16:43 tedu Exp $ */
/* flex - tool to generate fast lexical analyzers */
@@ -132,5 +132,3 @@ enum flexopt_flag_t {
};
#endif
-
-/* vim:set tabstop=8 softtabstop=4 shiftwidth=4 textwidth=0: */
diff --git a/usr.bin/lex/regex.c b/usr.bin/lex/regex.c
index 4144231b416..2b3b80a2b1a 100644
--- a/usr.bin/lex/regex.c
+++ b/usr.bin/lex/regex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: regex.c,v 1.1 2015/11/19 19:43:40 tedu Exp $ */
+/* $OpenBSD: regex.c,v 1.2 2015/11/19 22:16:43 tedu Exp $ */
/** regex - regular expression functions related to POSIX regex lib. */
@@ -170,5 +170,3 @@ bool regmatch_empty (regmatch_t * m)
{
return (m == NULL || m->rm_so < 0 || m->rm_so == m->rm_eo);
}
-
-/* vim:set expandtab cindent tabstop=4 softtabstop=4 shiftwidth=4 textwidth=0: */
diff --git a/usr.bin/lex/scanflags.c b/usr.bin/lex/scanflags.c
index a39beb50d89..7d0d4525710 100644
--- a/usr.bin/lex/scanflags.c
+++ b/usr.bin/lex/scanflags.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scanflags.c,v 1.1 2015/11/19 19:43:40 tedu Exp $ */
+/* $OpenBSD: scanflags.c,v 1.2 2015/11/19 22:16:43 tedu Exp $ */
/* scanflags - flags used by scanning. */
@@ -67,5 +67,3 @@ sf_init (void)
(void *)sizeof(scanflags_t));
_sf_stk[_sf_top_ix] = 0;
}
-
-/* vim:set expandtab cindent tabstop=4 softtabstop=4 shiftwidth=4 textwidth=0: */
diff --git a/usr.bin/lex/scanopt.c b/usr.bin/lex/scanopt.c
index 55b464664f4..992216fc5ab 100644
--- a/usr.bin/lex/scanopt.c
+++ b/usr.bin/lex/scanopt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scanopt.c,v 1.1 2015/11/19 19:43:40 tedu Exp $ */
+/* $OpenBSD: scanopt.c,v 1.2 2015/11/19 22:16:43 tedu Exp $ */
/* flex - tool to generate fast lexical analyzers */
@@ -870,6 +870,3 @@ int scanopt_destroy (svoid)
}
return 0;
}
-
-
-/* vim:set tabstop=8 softtabstop=4 shiftwidth=4: */
diff --git a/usr.bin/lex/scanopt.h b/usr.bin/lex/scanopt.h
index 523a4e557ab..5c8e8717af3 100644
--- a/usr.bin/lex/scanopt.h
+++ b/usr.bin/lex/scanopt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scanopt.h,v 1.1 2015/11/19 19:43:40 tedu Exp $ */
+/* $OpenBSD: scanopt.h,v 1.2 2015/11/19 22:16:43 tedu Exp $ */
/* flex - tool to generate fast lexical analyzers */
@@ -131,4 +131,3 @@ extern "C" {
}
#endif
#endif
-/* vim:set tabstop=8 softtabstop=4 shiftwidth=4: */
diff --git a/usr.bin/lex/tables.c b/usr.bin/lex/tables.c
index d0322138494..8efda6b9a21 100644
--- a/usr.bin/lex/tables.c
+++ b/usr.bin/lex/tables.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tables.c,v 1.1 2015/11/19 19:43:40 tedu Exp $ */
+/* $OpenBSD: tables.c,v 1.2 2015/11/19 22:16:43 tedu Exp $ */
/* tables.c - tables serialization code
*
@@ -500,5 +500,3 @@ void yytbl_data_compress (struct yytbl_data *tbl)
free (tbl->td_data);
*tbl = newtbl;
}
-
-/* vim:set noexpandtab cindent tabstop=8 softtabstop=0 shiftwidth=8 textwidth=0: */
diff --git a/usr.bin/lex/tables.h b/usr.bin/lex/tables.h
index b398b8bafcd..2d5cb2293c7 100644
--- a/usr.bin/lex/tables.h
+++ b/usr.bin/lex/tables.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tables.h,v 1.1 2015/11/19 19:43:40 tedu Exp $ */
+/* $OpenBSD: tables.h,v 1.2 2015/11/19 22:16:43 tedu Exp $ */
/* tables.h - tables serialization code
*
@@ -83,5 +83,3 @@ struct yytbl_data *mkftbl (void);
/* *INDENT-ON* */
#endif
#endif
-
-/* vim:set expandtab cindent tabstop=4 softtabstop=4 shiftwidth=4 textwidth=0: */
diff --git a/usr.bin/lex/tables_shared.h b/usr.bin/lex/tables_shared.h
index 216fb470572..3bdfc9651c1 100644
--- a/usr.bin/lex/tables_shared.h
+++ b/usr.bin/lex/tables_shared.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tables_shared.h,v 1.1 2015/11/19 19:43:40 tedu Exp $ */
+/* $OpenBSD: tables_shared.h,v 1.2 2015/11/19 22:16:43 tedu Exp $ */
#ifdef FLEX_SCANNER
/*
@@ -142,5 +142,3 @@ yyskel_static flex_int32_t yytbl_calc_total_len (const struct yytbl_data *tbl);
#ifdef FLEX_SCANNER
%ok-for-header
#endif
-
-/* vim:set noexpandtab cindent tabstop=8 softtabstop=0 shiftwidth=8 textwidth=0: */