From b956734b51a178ba083848672b006aa325217381 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Mar 2019 21:48:37 +0900 Subject: Update Kate syntax highlight files from http://kate-editor.org/syntax/2.5/ sources. Signed-off-by: Michele Calgaro --- kate/data/yacc.xml | 134 ++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 117 insertions(+), 17 deletions(-) (limited to 'kate/data/yacc.xml') diff --git a/kate/data/yacc.xml b/kate/data/yacc.xml index 214cb34cc..e5e90d260 100644 --- a/kate/data/yacc.xml +++ b/kate/data/yacc.xml @@ -10,6 +10,17 @@ This code is released under the LGPL as part of tdelibs/kate. == UPDATE HISTORY == +2018-02-20 // Nibaldo González + + 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 + grammar declarations in the grammar rules section. + - The ';' char is not necessary to finish a rule. Allow '; |' + within rules. + Add mimetypes and extensions '*.ypp' & '*.y++'. + 2007-10-01 // Sebastian Pipping Added: Extension "*.yy" for Bison @@ -19,13 +30,9 @@ This code is released under the LGPL as part of tdelibs/kate. YACC.XML 1.00 - First released. -== TODO == -- Add a mime type (cannot find it !?) - - ======================================================================== --> - + @@ -44,16 +51,32 @@ This code is released under the LGPL as part of tdelibs/kate. - - - + - + + + + + + + + + + + + + + + + + + + @@ -70,39 +93,109 @@ This code is released under the LGPL as part of tdelibs/kate. + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + + + + + + - + - @@ -128,15 +221,20 @@ This code is released under the LGPL as part of tdelibs/kate. + + + + - - + + + @@ -147,6 +245,7 @@ This code is released under the LGPL as part of tdelibs/kate. + @@ -158,6 +257,7 @@ This code is released under the LGPL as part of tdelibs/kate. + -- cgit v1.2.1