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 » another parsing bug
another parsing bug [message #24280] Fri, 08 January 2010 17:27 Go to next message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
Hi,
string compactcommandline(string defaultcommandline,string commandline)
{
vector<string> cl= splitcommandlinestr(commandline);
vector<string> dcl= splitcommandlinestr(defaultcommandline);
hash_map<string,string> clpairs,dclpairs;

int i,j;
}

This breaks the parser because of int i,j line.
No function will be visible after this line.
Re: another parsing bug [message #24313 is a reply to message #24280] Sun, 10 January 2010 14:45 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
All the time the same issue. Parser does not understand the external headers - yet.
Re: another parsing bug [message #24315 is a reply to message #24313] Sun, 10 January 2010 16:38 Go to previous messageGo to next message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
It must be a different problem because this causes the same thing:
int compactcommandline()
/**/{


int i,j;
}
Re: another parsing bug [message #24322 is a reply to message #24315] Mon, 11 January 2010 08:17 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Not in my theide. I have just tried this:

#include <Core/Core.h>

using namespace Upp;

int compactcommandline()
/**/{


int i,j;
}

void MyTest() {}

CONSOLE_APP_MAIN
{
	MyTes(*)
}


(*) marks the place where I pushed Ctrl+Space. Everything seem OK.

What is your U++ version and OS?
Re: another parsing bug [message #24329 is a reply to message #24322] Mon, 11 January 2010 11:06 Go to previous messageGo to next message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
Ultimate++ 1801, Windows 7.
Re: another parsing bug [message #24337 is a reply to message #24329] Mon, 11 January 2010 14:49 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
aftershock wrote on Mon, 11 January 2010 05:06

Ultimate++ 1801, Windows 7.



That is quite outdated. Anyway, can you try exactly my example?
Re: another parsing bug [message #24397 is a reply to message #24337] Thu, 14 January 2010 09:31 Go to previous message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
I tried.
It is ok yet a similar example does not work inside the code.
Previous Topic: Suggestion: package-list with same "widget" as file-list
Next Topic: bug: code completion is not working when namespaces are used
Goto Forum:
  


Current Time: Fri Apr 19 16:27:29 CEST 2024

Total time taken to generate the page: 2.92315 seconds