From 8f5ce71fb53dbcafca1b01f9e59d8a35b574da7a Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Date: Fri, 9 Oct 2020 00:14:34 +0200
Subject: [PATCH 5/5] match makefile syntax towards the end
the pattern is very broad and would occasionally clash with non-
makefiles, for example makefile.cpp.
---
misc/syntax/Syntax.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/misc/syntax/Syntax.in b/misc/syntax/Syntax.in
index 397bec473..7426c7ad3 100644
a
|
b
|
include xml.syntax |
67 | 67 | file ..\*\\.(?i:tt)$ Template::Toolkit\sFile |
68 | 68 | include tt.syntax |
69 | 69 | |
70 | | file (.\*[Mm]akefile[\\\.A-Za-z0-9]\*|..\*\\.mk|..\*\\.mak|Kbuild)$ Makefile |
71 | | include makefile.syntax |
72 | | |
73 | 70 | file (CMakeLists.txt|.\*.cmake)$ CMake |
74 | 71 | include cmake.syntax |
75 | 72 | |
… |
… |
include cobol.syntax |
307 | 304 | file ..\*\\.kt$ Kotliin\sSource |
308 | 305 | include kotlin.syntax |
309 | 306 | |
| 307 | file (.\*[Mm]akefile[\\\.A-Za-z0-9]\*|..\*\\.mk|..\*\\.mak|Kbuild)$ Makefile |
| 308 | include makefile.syntax |
| 309 | |
310 | 310 | file .\* unknown |
311 | 311 | include unknown.syntax |