Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » more bugs
more bugs [message #20364] Sat, 14 March 2009 11:47 Go to next message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
Hi,

I would like to report more bugs...

For multiline strings,
the syntax highlighter does not work.
Also, the assist/parser does not seem to know about multilines strings..

Assist broke on a multiline string found in my code.
I know because when I removed the multiline string, the goto started to list all functions again.




Re: more bugs [message #20371 is a reply to message #20364] Sun, 15 March 2009 15:25 Go to previous messageGo to next message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
Meanwhile I figured out what was wrong with assist...

In cppbase,cpplex.cpp was not right...

Basically, parser has problems with any multiline string that contains a tab. Then the multiline string is detected as faulty...

I changed line 326...

from
if((byte)*ptr < ' ' ) {

for
if((byte)*ptr < ' ' && *ptr!=9 ) {
Re: more bugs [message #20383 is a reply to message #20371] Mon, 16 March 2009 08:29 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Sounds reasonable, thanks...

BTW, it is line 323 in my sources - maybe you are not using latest U++ from svn?

Anyway, considering highlighting problem, I see nothing wrong. Could you paste me some code here that highlighter gets wrong?

Mirek
Re: more bugs [message #20390 is a reply to message #20383] Mon, 16 March 2009 11:31 Go to previous messageGo to next message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
Here you are...

"\
abstract,\
alias,\
align,\
asm,\
assert,\
auto,\
body,\
bool,\
break"

this should be one token.
It is not. I checked the syntax highlighter.
It is not implemented. Not in the version I have.


Re: more bugs [message #20409 is a reply to message #20390] Tue, 17 March 2009 10:46 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
aftershock wrote on Mon, 16 March 2009 06:31

Here you are...

"\
abstract,\
alias,\
align,\
asm,\
assert,\
auto,\
body,\
bool,\
break"

this should be one token.
It is not. I checked the syntax highlighter.
It is not implemented. Not in the version I have.





Fixed.

Mirek
Previous Topic: goto symbol bug
Next Topic: bug watches are forgotten
Goto Forum:
  


Current Time: Sat Apr 27 21:41:56 CEST 2024

Total time taken to generate the page: 0.06248 seconds