~ubuntu-branches/ubuntu/maverick/adacontrol/maverick

« back to all changes in this revision

Viewing changes to src/rules-declarations.ads

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Brenta
  • Date: 2006-12-06 19:59:00 UTC
  • mfrom: (1.1.2 upstream) (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20061206195900-xnfcv9mmhb22lq95
Tags: 1.6r8-1

* New upstream version.
* debian/rules: add a copyright statement.  Use all available CPUs to
  build.  Install predefined rules files in /usr/share/adacontrol.
* debian/adacontrol.gpr: work around a compiler (GCC 4.1) bug triggered
  by two of AdaControl's source files.
* debian/README.Debian: new; explain about the predefined rule files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 
36
36
package Rules.Declarations is
37
37
 
38
 
   -- This rule can be used to check/search for the occurrence of some Ada declarations
39
 
   -- Parameter(1): Declaration name
40
 
   -- Parameter(2): Declaration name
41
 
   -- ...
42
 
   -- Parameter(N): Declaration name
43
 
   --
44
 
   -- Declaration names: access, access_protected, access_subprogram, access_task, aliased,
45
 
   --                    exception, generic, package_statements, protected, protected_entry,
46
 
   --                    protected_type, renames, separate, single_array, single_protected,
47
 
   --                    single_task, tagged, task, task_entry, task_type, entry, task_entry,
48
 
   --                    protected_entry, discriminant, defaulted_discriminant, operator,
49
 
   --                    child_unit
50
 
 
51
38
   Rule_Id : constant Wide_String := "DECLARATIONS";
52
39
 
53
40
   procedure Process_Declaration (Element : in Asis.Declaration);