[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] C function start and end Line using the eclipse CDT Parser
|
I
think you are right ... i will see that.
Anyways i do have requirement of C function start Line No and C Function
end Line No in other application too. So Please tell me the same ..
One more query.Suppose
i have a function as shown below
1. int
*
2.
3. myFunction()
4. {
5. int k =
10;
6.
}
What will be the first Line of the function (according
to CDT Parser) 1 or 3 ? In Outline View it shows it as
3.
Sunil Virmani
-----Original Message-----
From: John Camelon
[mailto:jcamelon@xxxxxxxxxx]
Sent: Wednesday, July 14, 2004 7:15
PM
To: cdt-dev@xxxxxxxxxxx
Cc: Sunil Virmani,
Noida
Subject: Re: [cdt-dev] C function start and end Line using the
eclipse CDT Parser
What you are trying to do is very
similar to what we do in CDT when the user wishes to compare two source files
structurally.
I would suggest
you look @ the class org.eclipse.cdt.internal.ui.compare.CStructureCreator.
Hope that helps!
JohnC
www.eclipse.org/cdt
cdt-dev-admin@xxxxxxxxxxx wrote on 07/14/2004
12:46:43 AM:
> I want to build an application to find the difference
between two releases
> of C Files. for that i need to know all function
name and their starting
> Line and End Line.
>
> How can i
find the C function start and end Line using the eclipse CDT
>
Parser.
>
>
> Sunil Virmani
>
>
>
Disclaimer:
>
> This message and any attachment(s) contained
here are information that is
> confidential,proprietary to HCL
Technologies and its customers, privileged
> or otherwise protected by
law.The information is solely intended for the
> individual or the
entity it is addressed to. If you are not the intended
> recipient of
this message, you are not authorized to read, forward,
> print,retain,
copy or disseminate this message or any part of it. If you
> have
received this e-mail in error, please notify the sender immediately by
>
return e-mail and delete it from your computer.
>
>
>
_______________________________________________
> cdt-dev mailing
list
> cdt-dev@xxxxxxxxxxx
>
http://dev.eclipse.org/mailman/listinfo/cdt-dev
Disclaimer:
This message and any attachment(s) contained here are information that is confidential,proprietary to HCL Technologies and its customers, privileged or otherwise protected by law.The information is solely intended for the individual or the entity it is addressed to. If you are not the intended recipient of this message, you are not authorized to read, forward, print,retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.