This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/17566] New: Gnatxref formatting


Gnatxref does not support identifiers longer than 48 characters i.e. the output
is mangled for an identifier of length 49 or above.

e.g.
package chris is
 crrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr49 : Character;
end chris;

running 'gnatmake chris' and then 'gnatxref chris > chris.xref' results in
chris.xref:

>>>
chris                                            package
  Decl:  chris.ads    1:9
crrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr49enumeration object
  Decl:  chris.ads    2:2 
>>>

There is no space after the identifier's name : this makes gnatxref's output
impossible to parse.

Thanks

-- 
           Summary: Gnatxref formatting
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: meudecc at itcarlow dot ie
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17566


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]