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 :
Quote
lexer_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:
Code
$ @ \ & < > # { }"/>

The second is similar but on line 109

The third gives error on line 146:
Code
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.