Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: LETARTARE on March 28, 2022, 07:15:19 PM

Title: lexer*.xml malformed !
Post by: LETARTARE on March 28, 2022, 07:15:19 PM
cb-12765, the lexers :
Quotelexer_cu.xml
lexer_d.xml
lexer_powershell
charged in 'Firefox-90.02' are indicated malformed.
Is it normal ? How to correct this problem ?
Title: Re: lexer*.xml malformed !
Post by: Miguel Gimenez on March 28, 2022, 07:57:46 PM
The first gives error on line 137, probably some of the characters must be escaped:
$ @ \ & < > # { }"/>

The second is similar but on line 109

The third gives error on line 146:
StreamCommentStart="<#"
but probably will give more errors in the following lines afterwards. Looks like < and > must be escaped.
Title: Re: lexer*.xml malformed !
Post by: Miguel Gimenez on March 28, 2022, 08:47:10 PM
Fixed in r12766 (https://sourceforge.net/p/codeblocks/code/12766/), thank you for reporting.