summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-02-27 13:07:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-02-27 15:19:11 +0100
commiteea0b1f88ee1ffe19aae3b1e95fe27e5ef9b5676 (patch)
tree2aa37cc76d6a191f152c6ba457ed7bafba34fbe9 /l10ntools
parent836eb0ee9aaff94f9022f3dff4d6ac0ca4352155 (diff)
Add missing modelines to .l files
...and change connectivity/source/parse/sqlflex.l license header from using (unusual, anyway) // comments to using /* */ comment, so that it can go before Flex's opening %{ Change-Id: I371890e937cc5055405c17226dd87ba1694688aa Reviewed-on: https://gerrit.libreoffice.org/68433 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/cfglex.l6
-rw-r--r--l10ntools/source/xrmlex.l6
2 files changed, 10 insertions, 2 deletions
diff --git a/l10ntools/source/cfglex.l b/l10ntools/source/cfglex.l
index fe53a88507e1..8b19ad61466c 100644
--- a/l10ntools/source/cfglex.l
+++ b/l10ntools/source/cfglex.l
@@ -1,4 +1,4 @@
-%{
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+%{
+
/*
* lexer for parsing cfg source files
*/
@@ -167,3 +169,5 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
yylex();
return EXIT_SUCCESS;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l
index 4bd17ec5a3ac..34f37aa8f74b 100644
--- a/l10ntools/source/xrmlex.l
+++ b/l10ntools/source/xrmlex.l
@@ -1,4 +1,4 @@
-%{
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+%{
+
/*
* lexer for parsing xml-property source files (*.xml)
*/
@@ -223,3 +225,5 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
/* return error level */
return nRetValue;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */