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: 1354
Registered: November 2005
Location: Poland
Senior 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.
Previous Topic: Assembly pane
Next Topic: A little proposal on code analysis
Goto Forum:
  


Current Time: Thu Nov 21 18:07:56 CET 2019

Total time taken to generate the page: 0.00971 seconds