summaryrefslogtreecommitdiffstats
path: root/solenv/bin/id-lang.map
blob: 050388e8b2ea03ad485c875f3e1da519f4eb20f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Welcome to the mkid language mapper.
#
# The format of each line is:
#
#       <pattern> <language> [options]
#
# Filenames are matched top-to-bottom against the patterns, and the
# first match is chosen.  The special language `IGNORE' means that
# this file should be ignored by mkid.  The options are
# language-specific command-line options to mkid.
#
# If a file name doesn't match any pattern, it is assigned the default
# language.  The default language may be specified here with the
# special pattern `**', or overridden from the mkid command-line with
# the `--default-lang=LANG' option.
#
# The special pattern `***' means to include the named file that
# immediately follows.  If no file is named, then the default system
# language mapper file (i.e., this file) is included.

# Default language
**          IGNORE  # Although this is listed first,
                # the default language pattern is
                # logically matched last.

# Backup files
*~          IGNORE
*.bak           IGNORE
*.bk[0-9]       IGNORE

# SCCS files
[sp].*          IGNORE

# C dependencies created by automake
*/.deps/*       IGNORE

*.h         C
*.h.in          C
*.H         C++
*.hh            C++
*.hpp           C++
*.hxx           C++

*.l         C
*.lex           C
*.y         C
*.yacc          C

*.c         C
*.C         C++
*.cc            C++
*.cpp           C++
*.cxx           C++

*.java          Java

ChangeLog*      Cdoc

*.[sS]          asm --comment=;
*.asm           asm --comment=;

# [nt]roff
*.[0-9]         roff
*.ms            roff
*.me            roff
*.mm            roff

*.tex           TeX
*.ltx           TeX
*.texi          texinfo
*.texinfo       texinfo

# portable object (i18n)
*.po            po

*.el            lisp
*.elc           lisp
*.lisp          lisp
*.scm           lisp

*.am            make
Makefile        make
Makefile.*      make

*.doc           text
*.txt           text

*.m4            m4

*.pl            perl
*.pm            perl

*.gz            FILTER gzip -d <%s
*.Z         FILTER gzip -d <%s

######### LibO-specific stuff #######################################

# Treat LibO resource header files as C files
*.hrc           C
# Treat LibO header files generated from *.idl as C++ files
*.hdl           C++
# Treat LibO IDL files as C++ files, not exactly a header file, but ...
*.idl           C++
# Treat LibO resource files as C files
*.src           C
# Treat LibO *.mk files as makefiles
*.mk            make