Bug 432777 - Lua.xml fails, can not find DoxygenLua.xml
Summary: Lua.xml fails, can not find DoxygenLua.xml
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: syntax (show other bugs)
Version: unspecified
Platform: Other Other
: NOR major
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-11 00:22 UTC by Gene Thomas
Modified: 2021-12-20 01:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/