Bug 432777

Summary: Lua.xml fails, can not find DoxygenLua.xml
Product: [Frameworks and Libraries] frameworks-syntax-highlighting Reporter: Gene Thomas <gene>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: major CC: jonathan.poelen, walter.von.entferndt
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gene Thomas 2021-02-11 00:22:48 UTC
SUMMARY

From https://github.com/KDE/syntax-highlighting
https://github.com/KDE/syntax-highlighting/blob/master/data/syntax/lua.xml

contains comment "it uses DoxygenLua.xml to format the comments in a Doxygen style"

line 504:

        <IncludeRules context="##DoxygenLua" />

But there is no DocygenLua.xml nor any file with <language name="DoxygenLua" ...>


STEPS TO REPRODUCE
1. Load Lua.xml into an engine that reports errors

OBSERVED RESULT

Fails to load DoxygenLua.xml

EXPECTED RESULT

Should load without error

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

the head of  https://github.com/KDE/syntax-highlighting

ADDITIONAL INFORMATION

-
Comment 1 Gene Thomas 2021-02-11 00:39:36 UTC
I have found a "doxygenlua.xml" in an old checkout so I supose that doxygenlua.xml was removed by mistake rather than lua.xml being updated to refer to that file that was never checked in.
Comment 2 Jonathan Poelen 2021-02-12 03:18:57 UTC
doxygenlua.xml is auto-generated with generate-doxygenlua.pl doxygen.xml doxygenlua.xml (see https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/data/CMakeLists.txt and  https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/data/generators/generate-doxygenlua.pl)
Comment 3 Jonathan Poelen 2021-02-12 03:45:49 UTC
The list of xml files (with the generated ones) can be found on https://kate-editor.org/syntax/