From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,68db891c6e758b72 X-Google-Attributes: gid103376,public From: Mark McKinney Subject: Re: Help needed Date: 1997/10/21 Message-ID: <344D6575.6015@mar.erols.com>#1/1 X-Deja-AN: 282326402 References: <344B1CD3.1934@xperts.hu> X-Complaints-To: abuse@erols.com X-Trace: winter.news.erols.com 877487436 19021 207.172.55.220 (22 Oct 1997 02:30:36 GMT) Organization: Erol's Internet Services Reply-To: mckinney@mar.erols.com Newsgroups: comp.lang.ada Date: 1997-10-21T00:00:00+00:00 List-Id: Guest wrote: > > Hi, > > I'm working on an Ada parser and need some information; hope > someone can help me a bit. > Upon finding a WITH clause, the compiler determines which file to > process. My question is that is a STANDARD(ized) way to find this file > name out, or it is implementation dependent. > > Thanks, > Gabor Varga Assumine you're reading a file using a predifined io package like text_io, sequential_io .... there is a name function that returns a string that should be the file name. Sometimes i've see it return a full pathname other time a relative one.