diff --git a/autotests/folding/highlight.y.fold b/autotests/folding/highlight.y.fold
--- a/autotests/folding/highlight.y.fold
+++ b/autotests/folding/highlight.y.fold
@@ -1,6 +1,6 @@
-/* Yacc / Bison hl test file.
+/* Yacc / Bison hl test file.
* It won't compile :-) Sure !
- */
+ */
%{
@@ -87,9 +87,9 @@
#include
int main(void)
-{
+{
puts("Hello, World!");
return 0;
-}
+}
// ALERT NOTE
diff --git a/data/syntax/apparmor.xml b/data/syntax/apparmor.xml
--- a/data/syntax/apparmor.xml
+++ b/data/syntax/apparmor.xml
@@ -8,7 +8,7 @@
-
+
]>
-
+
@@ -807,12 +808,12 @@
-
+
-
+
@@ -876,7 +877,7 @@
-
+
-
-
+
+
@@ -1021,25 +1022,25 @@
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -1055,17 +1056,17 @@
-
+
-
-
+
+
@@ -1163,7 +1164,7 @@
-
+
@@ -1213,14 +1214,14 @@
-
+
-
+
-
+
@@ -1248,14 +1249,14 @@
-
-
+
+
-
+
@@ -1279,15 +1280,15 @@
NOTE: Old style (name^HAT) not included -->
-
+
-
+
-
+
@@ -1309,7 +1310,7 @@
-
+
@@ -1323,7 +1324,7 @@
-
+
@@ -1335,7 +1336,7 @@
-
+
@@ -1390,7 +1391,7 @@
-
+
@@ -1424,10 +1425,10 @@
-
+
-
+
diff --git a/data/syntax/coffee.xml b/data/syntax/coffee.xml
--- a/data/syntax/coffee.xml
+++ b/data/syntax/coffee.xml
@@ -2,7 +2,7 @@
-
+
-
+
@@ -173,7 +173,7 @@
-
+
@@ -197,10 +197,12 @@
+
+
@@ -225,7 +227,7 @@
-
+
diff --git a/data/syntax/fortran-fixed.xml b/data/syntax/fortran-fixed.xml
--- a/data/syntax/fortran-fixed.xml
+++ b/data/syntax/fortran-fixed.xml
@@ -1,6 +1,6 @@
-
+
@@ -427,7 +427,7 @@
-
+
@@ -441,7 +441,7 @@
-
+
@@ -472,35 +472,35 @@
-
-
+
+
-
-
-
+
+
+
-
+
-
+
-
-
+
+
@@ -522,13 +522,13 @@
-
-
-
+
+
+
-
+
-
+
diff --git a/data/syntax/fortran-free.xml b/data/syntax/fortran-free.xml
--- a/data/syntax/fortran-free.xml
+++ b/data/syntax/fortran-free.xml
@@ -1,6 +1,6 @@
-
+
@@ -164,9 +164,9 @@
-
+
-
+
@@ -197,44 +197,44 @@
-
+
-
-
+
+
-
-
-
-
+
+
+
+
-
-
-
+
+
+
-
+
-
+
-
+
-
+
diff --git a/data/syntax/html.xml b/data/syntax/html.xml
--- a/data/syntax/html.xml
+++ b/data/syntax/html.xml
@@ -3,9 +3,9 @@
[
-
+
]>
-
+
@@ -33,37 +33,37 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -85,16 +85,16 @@
-
+
-
+
@@ -172,7 +172,7 @@
-
+
@@ -310,7 +310,7 @@
-
+
diff --git a/data/syntax/logcat.xml b/data/syntax/logcat.xml
--- a/data/syntax/logcat.xml
+++ b/data/syntax/logcat.xml
@@ -1,8 +1,8 @@
-
+
+
]>
@@ -30,11 +30,11 @@
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
==========================================================================================
- Last update: August 30, 2019 (v4)
+ Last update: October 25, 2019 (v5)
-->
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -155,7 +155,7 @@
-
+
@@ -198,6 +198,10 @@
+
+
+
+
diff --git a/data/syntax/mustache.xml b/data/syntax/mustache.xml
--- a/data/syntax/mustache.xml
+++ b/data/syntax/mustache.xml
@@ -42,7 +42,7 @@
* v1 [2019-02-10]: Initial version
-->
-
+ Start: \{\{~?#?\s*(?=(?:if|unless|with|link\-to|each(?:\-in)?)\b)
+ End: \{\{~?/\s*(?=(?:if|unless|with|link\-to|each(?:\-in)?)\b) -->
@@ -463,7 +463,7 @@
-
+
diff --git a/data/syntax/rust.xml b/data/syntax/rust.xml
--- a/data/syntax/rust.xml
+++ b/data/syntax/rust.xml
@@ -28,12 +28,12 @@
-->
-
-
-
+
+
+
+
]>
-
+
- fn
@@ -372,11 +372,11 @@
-
+
-
+
-
+
@@ -386,13 +386,13 @@
-
+
-
+
@@ -429,14 +429,14 @@
-
-
+
+
-
+
-
+
diff --git a/data/syntax/selinux-cil.xml b/data/syntax/selinux-cil.xml
--- a/data/syntax/selinux-cil.xml
+++ b/data/syntax/selinux-cil.xml
@@ -5,8 +5,8 @@
-
-
+
+
]>
-
+
-
+
@@ -372,7 +372,7 @@
-
+
@@ -426,7 +426,7 @@
(permissionx permissionx_id (ioctl class_id (permission ... | expr ...))) -->
-
+
@@ -438,7 +438,7 @@
-
+
@@ -598,7 +598,7 @@
-
+
@@ -613,7 +613,7 @@
-
+
@@ -623,7 +623,7 @@
-
+
diff --git a/data/syntax/selinux-fc.xml b/data/syntax/selinux-fc.xml
--- a/data/syntax/selinux-fc.xml
+++ b/data/syntax/selinux-fc.xml
@@ -2,11 +2,11 @@
-
-
-
-
-
+
+
+
+
+
]>
-
+
@@ -82,11 +82,11 @@
-
+
-
+
@@ -112,15 +112,15 @@
-
+
-
+
diff --git a/data/syntax/selinux.xml b/data/syntax/selinux.xml
--- a/data/syntax/selinux.xml
+++ b/data/syntax/selinux.xml
@@ -1,27 +1,27 @@
-
+
+
-
+
-
+
-
+
-
-
+
+
]>
load_module
- load_policy
- lock
- - mac_admin
+ - mac_admin
- mac_override
- manage
- manage_subnet
@@ -952,7 +953,7 @@
-
+
@@ -962,7 +963,7 @@
-
+
@@ -1008,8 +1009,8 @@
-
-
+
+
@@ -1049,7 +1050,7 @@
-
+
@@ -1059,7 +1060,7 @@
-
+
@@ -1101,7 +1102,7 @@
-
+
@@ -1114,7 +1115,7 @@
-
+
@@ -1153,7 +1154,7 @@
-
+
@@ -1163,7 +1164,7 @@
-
+
@@ -1212,7 +1213,7 @@
-
+
@@ -1254,16 +1255,16 @@
-
+
-
+
-
-
+
+
@@ -1277,7 +1278,7 @@
-
+
@@ -1340,7 +1341,7 @@
-
+
@@ -1357,7 +1358,7 @@
-
+
@@ -1411,45 +1412,45 @@
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
@@ -1505,7 +1506,7 @@
-
+
@@ -1518,7 +1519,7 @@
-
+
@@ -1547,7 +1548,7 @@
-
+
diff --git a/data/syntax/xml.xml b/data/syntax/xml.xml
--- a/data/syntax/xml.xml
+++ b/data/syntax/xml.xml
@@ -4,9 +4,9 @@
-
+
]>
-
+
@@ -40,8 +40,9 @@
-
+
+
@@ -63,7 +64,7 @@
-
+
@@ -88,8 +89,7 @@
-
-
+
@@ -143,7 +143,7 @@
-
+
diff --git a/data/syntax/yacc.xml b/data/syntax/yacc.xml
--- a/data/syntax/yacc.xml
+++ b/data/syntax/yacc.xml
@@ -12,12 +12,12 @@
== UPDATE HISTORY ==
2018-02-20 // Nibaldo González
- Fix '$' symbol, highlighted as 'dsError' by C++ (isocpp.xml).
+ Fix '$' symbol, highlighted as 'dsError' by C++ (isocpp.xml).
Update syntax for Bison (3.0.4):
- Add declarations, directives in rules and the '@' variable.
- - Allow a tag in '%union', declarations in multiple lines and
+ - Allow a tag in '%union', declarations in multiple lines and
grammar declarations in the grammar rules section.
- - The ';' char is not necessary to finish a rule. Allow '; |'
+ - The ';' char is not necessary to finish a rule. Allow '; |'
within rules.
Add mimetypes and extensions '*.ypp' & '*.y++'.
@@ -32,7 +32,7 @@
========================================================================
-->
-
+
@@ -62,7 +62,7 @@
-
+
@@ -74,7 +74,7 @@
-
+
@@ -141,9 +141,9 @@
-
+
-
@@ -164,7 +164,7 @@
-
+
@@ -195,11 +195,11 @@
-
+
-
+
@@ -229,7 +229,7 @@
-
+
@@ -259,7 +259,7 @@
-
+
diff --git a/data/syntax/yaml.xml b/data/syntax/yaml.xml
--- a/data/syntax/yaml.xml
+++ b/data/syntax/yaml.xml
@@ -1,20 +1,20 @@
-
+
+
-
-
-
-
+
+
+
+
-
+
-
-
-
-
+
+
+
+
@@ -37,7 +37,7 @@
-
@@ -47,7 +47,7 @@
-
+
@@ -62,10 +62,10 @@
-
-
-
-
+
+
+
+
@@ -75,7 +75,7 @@
-
+
@@ -89,7 +89,7 @@
-
+
@@ -106,7 +106,7 @@
-
+
@@ -119,7 +119,7 @@
-
+
@@ -134,24 +134,24 @@
-
+
-
+
-
+
-
+
@@ -168,7 +168,7 @@
-
+
@@ -210,21 +210,21 @@
-
+
-
+
-
-
-
-
+
+
+
+
@@ -239,18 +239,18 @@
-
+
-
+
-
-
-
-
+
+
+
+
@@ -290,12 +290,12 @@
-
+
-
+
@@ -314,7 +314,7 @@
-
+
@@ -347,10 +347,10 @@
-
-
-
-
+
+
+
+
@@ -365,7 +365,7 @@
+ String="^&space;*\t+\s*(?=(?:(?:&keyDQ;|&keySQ;|[^#])*[^#\w\|<>"'])?&literalOp;&endValue;)" />
+ String="^&space;*(?:\?&space;*|\-&space;+){1,6}(?:(?:&keyDQ;|&keySQ;|[^#\-\?\s]|\-[^\s#])(?:(?:&keyDQ;|&keySQ;|[^#])*[^#\w\|<>"'])?)?&literalOp;&endValue;" />
+ String="^&space;*(?:(?:[&\*]|!!)\S+\s+)+&literalOp;&endValue;" />
@@ -515,15 +515,15 @@
-
+
-
+