From kdevelop-devel Tue Mar 23 10:15:52 2004 From: Holger Schroeder Date: Tue, 23 Mar 2004 10:15:52 +0000 To: kdevelop-devel Subject: Re: [Bug 78255] kdevelop parser gets confused by comments in cpp sources Message-Id: <200403231115.53120.holger-kde () holgis ! net> X-MARC-Message: https://marc.info/?l=kdevelop-devel&m=108003712729007 On Tuesday 23 March 2004 08:42, John Birch wrote: > ------- You are receiving this mail because: ------- > You are the assignee for the bug, or are watching the assignee. > > http://bugs.kde.org/show_bug.cgi?id=78255 > > > > > ------- Additional Comments From jbb kdevelop org 2004-03-23 08:42 ------- > Well > classInst. > methodName(); > is valid syntax. > > So in your case > QString tmp; > tmp. > tmp. > I would expect the code completion to be looking for tmp.tmp. > which it would never find as there's no tmp var on a QString. Hence no code > completion can be offered with or without a comment in between. > > However - you are right - this is a bug. The following > QHBoxLayout *top_layout = new QHBoxLayout(this); > top_layout-> > // lala .... > widget()-> > doesn't work whereas > > top_layout-> > widget()-> > will work. > > Not quite the same you were reporting though :-) > yes, perhaps i shouldn´t have put both a working and a non-working case into one code snippet ;-) so for me this works: QString tmp; tmp. and this doesn´t: QString tmp; // lala.... tmp. Holger > _______________________________________________ > Kdevelop-devel mailing list > Kdevelop-devel@barney.cs.uni-potsdam.de > http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel _______________________________________________ Kdevelop-devel mailing list Kdevelop-devel@barney.cs.uni-potsdam.de http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel