title: Rename an Ada package
body: <p>Is it possible to have a different file name for a package than its actual name? I have tried to use the pragmas below but get errors like "pragma source_file_name_project argument has incorrect identifier"</p>
  
  <pre><code>package Parent_With_Very_Long_Name is end Parent_with_Very_Long_Name;
  ...
  package Parent_With_Very_Long_Name.Child is
      pragma Source_File_Name_Project("parent-child.ads");
  end Parent_With_Very_Long_Name.Child;
  </code></pre>
  
  <ul>
  <li><a href="http://gcc.gnu.org/onlinedocs/gnat_rm/Pragma-Source_005fFile_005fName_005fProject.html#Pragma-Source_005fFile_005fName_005fProject" rel="nofollow">Source_File_Name_Project</a></li>
  <li><a href="http://gcc.gnu.org/onlinedocs/gnat_rm/Pragma-Source_005fFile_005fName.html" rel="nofollow">Source_File_Name</a></li>
  </ul>