[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ada-mode-users] Grammar issue for gpr package Naming
From: |
Simon Wright |
Subject: |
[Ada-mode-users] Grammar issue for gpr package Naming |
Date: |
Mon, 13 May 2019 15:26:23 +0100 |
I have this project file:
-- Build the tools used for running the ACATS gnat-specific grading
-- scripts.
--
-- Assumes that the support code, stored as at
-- https://github.com/simonjwright/ACATS, is in ../ACATS.
project Tools is
for Main use ("gnatscrp.a", "gnatevnt.a", "tstamp.a",
"summary.a", "grade.a");
for Exec_Dir use ".";
for Source_Dirs use (".", "../ACATS/support");
for Object_Dir use ".build";
package Naming is
for Body ("gnatscrp") use "gnatscrp.a";
for Body ("gnatevnt") use "gnatevnt.a";
for Body ("tstamp") use "tstamp.a";
for Body ("summary") use "summary.a";
for Body ("grade") use "grade.a";
for Spec ("trace") use "trace.a";
for Spec ("grading_data") use "grd_data.a" at 1;
for Body ("grading_data") use "grd_data.a" at 2;
for Spec ("special_handling") use "special.a" at 1;
for Body ("special_handling") use "special.a" at 2;
for Spec ("test_summary") use "tst_sum.a" at 1;
for Body ("test_summary") use "tst_sum.a" at 2;
end Naming;
end Tools;
and 6.1.0 from elpa doesn't like the 'use "grd_data.a" at 1;' syntax (for info,
it means that this is a file with more than one unit in it, which you'd
normally gnatchop, but GNAT knows to use the first for this spec (I dare say it
uses gnatchop internally?))
I don't understand how the parsing code gets generated, and I'm having real
trouble with mtn, or I'd see if I could work something out.
- [Ada-mode-users] Grammar issue for gpr package Naming,
Simon Wright <=