Added support for recognizing Jamfiles.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24188 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -56,6 +56,7 @@
|
|||||||
#define L_BCPL 12 /* BCPL */
|
#define L_BCPL 12 /* BCPL */
|
||||||
#define L_M4 13 /* M4 */
|
#define L_M4 13 /* M4 */
|
||||||
#define L_PO 14 /* PO */
|
#define L_PO 14 /* PO */
|
||||||
|
#define L_JAM 15 /* Jamfiles */
|
||||||
|
|
||||||
static const struct {
|
static const struct {
|
||||||
const char *human;
|
const char *human;
|
||||||
@@ -77,6 +78,7 @@ static const struct {
|
|||||||
{ "BCPL program", "text/x-source-code", "text/x-bcpl" },
|
{ "BCPL program", "text/x-source-code", "text/x-bcpl" },
|
||||||
{ "M4 macro language pre-processor", "text/x-source-code", "text/x-m4" },
|
{ "M4 macro language pre-processor", "text/x-source-code", "text/x-m4" },
|
||||||
{ "PO (gettext message catalogue)", "text/plain", "text/x-po" },
|
{ "PO (gettext message catalogue)", "text/plain", "text/x-po" },
|
||||||
|
{ "Jamfile", "text/x-source-code", "text/x-jamfile" },
|
||||||
{ "cannot happen error on names.h/types", "text/plain", "error/x-error" },
|
{ "cannot happen error on names.h/types", "text/plain", "error/x-error" },
|
||||||
{ NULL, NULL, NULL }
|
{ NULL, NULL, NULL }
|
||||||
};
|
};
|
||||||
@@ -144,6 +146,9 @@ static struct names {
|
|||||||
{"float", L_C},
|
{"float", L_C},
|
||||||
{"struct", L_C},
|
{"struct", L_C},
|
||||||
{"union", L_C},
|
{"union", L_C},
|
||||||
|
{"SubDir", L_JAM},
|
||||||
|
{"rule", L_JAM},
|
||||||
|
{"actions", L_JAM},
|
||||||
{"CFLAGS", L_MAKE},
|
{"CFLAGS", L_MAKE},
|
||||||
{"LDFLAGS", L_MAKE},
|
{"LDFLAGS", L_MAKE},
|
||||||
{"all:", L_MAKE},
|
{"all:", L_MAKE},
|
||||||
|
|||||||
Reference in New Issue
Block a user