U++ framework
Do not panic. Ask here before giving up.

Home » U++ TheIDE » U++ TheIDE: CodeEditor, Assist++, Topic++ » CH_STYLE parsing fix
CH_STYLE parsing fix [message #15193] Tue, 08 April 2008 15:06 Go to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
This has been really annoying me ever since Chameleon was introduced but I was waiting for Mirek to fix it Smile. TheIde parser can't handle macros like:
CH_STYLE(a, b, c)
{
...
}

and doesn't recover properly, breaking Goto and Query for everything in the file after that point.

It now works much, much better. I've attached the modified Parser.cpp from the CppBase package. Changes are marked JT (there are only 3).
  • Attachment: Parser.cpp
    (Size: 27.85KB, Downloaded 484 times)

[Updated on: Tue, 08 April 2008 15:08]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: newbie to programming
Next Topic: Assist++ autocomplete window mouse wheel bug
Goto Forum:
  


Current Time: Sun Jul 19 07:59:42 GMT+2 2026

Total time taken to generate the page: 0.00552 seconds