Files
gnatstudio/cpp_module
Javier Miranda f92b2ac05c * cpp_module/src/cpp_module.ads
(Create_CPP_Handler): Adding new parameter for the languages handler.

* cpp_module/src/cpp_module.adb
(Create_CPP_Handler): Store the languages handler in the CPP handler.
(Register_Module): Add new actual when invoking Create_CPP_Handler.

* ada_module/ui/src/ada_module.adb
(Register_Module): Add new actual when invoking Create_ALI_Handler.

* kernel/src_info/ali_parser.ads
(Create_ALI_Handler): Adding new parameter for the languages handler.
(ALI_Handler_Record): Adding new field to store the languages handler.

* kernel/src_info/ali_parser.adb
(Update_ALI): Minor reformating.
(Process_Entity_Ref): Add support for entities imported from C.
(Create_ALI_Handler): Store the languages handler in the ALI handler.

* kernel/src_info/entities.ads
(E_Reference): Adding new component (Is_Imported)
(Add_Reference): Adding new formal (Is_Imported).
(No_E_Reference): Add default value of Is_Imported.

* kernel/src_info/entities.adb
(Set_End_Of_Scope): Initialize new component in aggregates (Is_Imported).
(Add_Reference): Use new formal to initialize the new field (Is_Imported).

* kernel/src_info/entities-queries.adb
(Find_Next_Body): Handle references of imported entities.

Subsidiary updates:

* ada_module/ui/src/ada_semantic_tree-crash_test.adb
* kernel/src_info/tests/test_parse.adb
In both cases the new parameter Lang_Handler must be passed
in calls to Create_CPP_Handler and Create_ALI_Handler.

For I401-027

[GPS] Adding support to navigate across language boundary

This patch adds the minimum functionality needed to navigate
in Ada sources through entities imported from C.


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@177794 936e1b1b-40f2-da11-902a-00137254ae57
2011-08-29 12:14:06 +00:00
..
2009-11-23 20:11:05 +00:00
2011-08-29 12:14:06 +00:00