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: CodeEditor, Assist++, Topic++ » Parser error sensitivity
Parser error sensitivity [message #26598] Fri, 14 May 2010 09:46
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

#include <CtrlLib/CtrlLib.h>

#include <Core/Core.h>

using namespace Upp;

class A
{
	public:
		void a0();
		void a1();
} ------------------------> If there is no semicolon...
                                       |
class B                                |
{                                      | 
	public:                        |
		A a;                   |
		void b0();             |
};                                     |  
                                       |
                                       |
GUI_APP_MAIN                           |
{                                      |
	A a;                           |
	a.a0();                        |
	B b;                           |
	b. <---------------------------- 
	              pressing dot shows nothing



Maybe parser should ignore missing semicolon after class/struct definition and continue parsing.
 
Read Message
Previous Topic: Assembly pane
Next Topic: A little proposal on code analysis
Goto Forum:
  


Current Time: Fri Mar 29 06:19:00 CET 2024

Total time taken to generate the page: 0.01080 seconds