~ubuntu-branches/ubuntu/trusty/gnat-gps/trusty

« back to all changes in this revision

Viewing changes to ada_module/src/ada_semantic_tree-assistants.adb

  • Committer: Package Import Robot
  • Author(s): Ludovic Brenta, Nicolas Boulenguez, Ludovic Brenta
  • Date: 2011-12-27 11:56:14 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20111227115614-rmz1ikmqv3c9s40u
Tags: 5.0-1
[Nicolas Boulenguez]
* New upstream version from upstream's Subversion repository, revision 165249
  (date: 2010-10-01T15:03:16).
* Build with gnat-4.6.  Closes: #642618.
* Upgraded to debhelper 8 and Standards-Version 3.9.2.
* control: reformatted descriptions to please lintian
* rules: allowed transmission of new targets to dh
* rules, patches: link against system libdb instead of embedded db source

[Ludovic Brenta]
* debian/patches/command-names.patch,
  debian/patches/gcc-4.4.patch,
  debian/patches/libgtkada2-2.14.2.patch,
  debian/patches/no-tcl.patch,
  debian/patches/use_system_libdb.patch,
  debian/patches/no-gtkextra.patch,
  debian/patches/fix-config-guess.patch,
  debian/patches/escape_embedded_xml_in_ada_support_py.patch: delete, no longer needed.
* debian/patches/documentation-path.patch,
  debian/patches/texinfo.patch,
  debian/patches/elaboration.patch,
  debian/patches/documentation-formats.patch
  debian/patches/bashisms.patch: refresh.
* debian/patches/libgtkada2.24.0-part[123].patch: new.
* debian/control: gnat-gps-doc now recommends ada-reference-manual-html and
  gprbuild-doc, both referenced in the Documentation menu of GPS.
  (gnat-gps-common): new package for architecture:all files.
* debian/rules: do not build Source Navigator, which is no longer bundled.
* debian/build_gps.gpr: adjust to new source directories.
* debian/gnat-gps.install: do not install auxiliary executables built from
  Source Navigator sources which are no longer bundled.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
-----------------------------------------------------------------------
2
 
-----------------------------------------------------------------------
3
 
 
4
 
with Language.Tree.Ada;
5
 
with Ada_Semantic_Tree.Parts;
6
 
with Ada_Semantic_Tree.Units;
7
 
with Ada_Semantic_Tree.Dependency_Tree;
8
 
with Ada_Semantic_Tree.Visibility;
9
 
with Ada_Semantic_Tree.Type_Tree;
10
 
 
11
 
package body Ada_Semantic_Tree.Assistants is
12
 
 
13
 
   -----------------------------
14
 
   -- Register_Ada_Assistants --
15
 
   -----------------------------
16
 
 
17
 
   procedure Register_Ada_Assistants (Db : Construct_Database_Access) is
18
 
   begin
19
 
      --  Since the assistants are registring annotations keys, the order in
20
 
      --  which they are registered influences a lot the memory lost by the
21
 
      --  database to create annotation - to keep things simple, the
22
 
      --  annotations created on most constructs should be registered first.
23
 
      --  However, there may be logical dependencies between the assistants
24
 
      --  which puts some constraints on this order - e.g. units has to be
25
 
      --  registered very soon.
26
 
 
27
 
      Language.Tree.Ada.Register_Assistant (Db);
28
 
      Ada_Semantic_Tree.Visibility.Register_Assistant (Db);
29
 
      Ada_Semantic_Tree.Units.Register_Assistant (Db);
30
 
      Ada_Semantic_Tree.Parts.Register_Assistant (Db);
31
 
      Ada_Semantic_Tree.Type_Tree.Register_Assistant (Db);
32
 
      Ada_Semantic_Tree.Dependency_Tree.Register_Assistant (Db);
33
 
   end Register_Ada_Assistants;
34
 
 
35
 
end Ada_Semantic_Tree.Assistants;