LPC syntax highlighting XML file

Caisifhon caisifhon at cableone.net
Mon Jun 30 19:59:33 UTC 2003


The XML file for your LPC syntax, http://kate.kde.org/hl/xml/lpc.xml has a few 
issues involving escaped quotes, which are used extensively in the LPC mud  
pseudolanguage.

A correction for the section involved follows:

The following section
-- Begin xml data section

            <context name="18" attribute="iString" lineEndContext="18">
                <DetectChar attribute="iString" char=""" context="0" />
            </context>

-- end data section
Should be replaced with
-- begin xml data section

            <context name="18" attribute="iString" lineEndContext="18">
	     <LineContinue attribute="18" context="#stay"/>
             <HlCStringChar attribute="iPreString" context="18"/>
             <DetectChar attribute="iString" char=""" context="0" />
            </context>

-- End xml data section

This allows correct syntax highlighting with the LPC parsing system of KATE , 
when multiply escaping characters in strings.

Appreciating your time

Caisifhon
AKA  Eric L. Hansen


More information about the kde-www mailing list