Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Re: Nightly Builds

That seems to be the main K&R related one...

Some other failures:

1. a_int = b_fcn((void (*))a_fcn) ; // ( should be (void (*)())a_fcn )

2. (*ptr)++ ;

In (1), the parser stopped dead, whereas in (2) it continued for the rest of the file. Parsing C is pretty disgusting, particularly in light of the "things which the compiler will accept" that don't constitute ANSI code. The only way I know is to build a database of code to test against. The grammar itself will not get you there...

turnham@xxxxxxxxxx wrote:

Hi Joe,

Yes I do plan on adding support for K&R C function declarations.  Are there
K&R things other than the function declarations that are not parsing
properly?  For now I was just planning to fix up the parsing of this sort
of thing:

int some_function (foo, bar)
     int foo;
     char bar;
{}

This should be an easy fix to add to the parser (Bug #7541).
I'll have to track down a K&R C reference to find out if there are other
things ubiquitous enough to focus on.

============================
  Jeff Turnham
  Linux Application Development
  IBM Toronto Lab, D2-328
  (905) 413-4319
============================


Joe deBlaquiere <jadb@xxxxxxxxx To: cdt-dev@xxxxxxxxxxx m> cc: Sent by: Subject: Re: [cdt-dev] Re: Nightly Builds cdt-dev-admin@e clipse.org 04/02/2002 11:57 AM Please respond to cdt-dev


I'm working from the GTK version (can't tolerate the ugliness of Motif).
  So far it seems to be working quite well. Built generally nicely (some
complaints about deprecated APIs). Lauched fine (last night's cpp.ui
wouldn't load). Can create hello world, can import a project from CVS
and set it's mode to C/C++.

I know I'm going in twenty directions at once, but is there a standard
test process / test suite?

I did notice that it doesn't want to parse objects from old K&R code
(and neither do I!). I'm using ttcp.c as one of my test programs (from
the ttcp SRPM). I'll go poke in Bugzilla and see if it's already noted...

I'm also somewhat confused on how to kick off the debugger. When I click
the bug icon, it brings up the "Select Launcher" dialog. Everyhting in
there looks like Java stuff. Perhaps you could point me in the right
direction...

and under 'properties', what's the difference between "Launch
Configuration" and "Launcher"...

turnham@xxxxxxxxxx wrote:


The code in CVS now compiles and runs for the 20020321 Stable Eclipse
Driver.  I've tested this only with the Motif driver.  I'll be trying the
GTK and Windows drivers out shortly.

============================
 Jeff Turnham
 Linux Application Development
 IBM Toronto Lab, D2-328
 (905) 413-4319
============================

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev




--
Joe deBlaquiere
Senior Architect, Embedded Linux
Red Hat, Inc.
voice : 256-217-0123
mobile: 256-527-5633
fax   : 256-837-3839
jadb@xxxxxxxxxx

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev



--
Joe deBlaquiere
Senior Architect, Embedded Linux
Red Hat, Inc.
voice : 256-217-0123
mobile: 256-527-5633
fax   : 256-837-3839
jadb@xxxxxxxxxx



Back to the top