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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1681ab3140add819 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-26 15:45:52 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!jfk3-feed1.news.digex.net!dca6-feed2.news.digex.net!intermedia!newsfeed1.cidera.com!cyclone.tampabay.rr.com!cyclone.austin.rr.com!cyclone2.austin.rr.com!typhoon.austin.rr.com.POSTED!not-for-mail From: rajat@austin.rr.com (Rajat Datta) Newsgroups: comp.lang.ada Subject: Re: creating temporary files References: Reply-To: rajat@austin.rr.com Message-ID: User-Agent: slrn/0.9.6.3 (FreeBSD) Date: Thu, 26 Jul 2001 22:30:47 GMT NNTP-Posting-Host: 24.27.54.104 X-Complaints-To: abuse@rr.com X-Trace: typhoon.austin.rr.com 996186647 24.27.54.104 (Thu, 26 Jul 2001 17:30:47 CDT) NNTP-Posting-Date: Thu, 26 Jul 2001 17:30:47 CDT Organization: Road Runner - Texas Xref: archiver1.google.com comp.lang.ada:10620 Date: 2001-07-26T22:30:47+00:00 List-Id: On Thu, 26 Jul 2001 16:24:50 -0500, David C. Hoos wrote: >Since you didn't say what version of aflex you're using, or what version >of GNAT, it's hard to definitively answer the question. Sorry. I'm using gnat-3.13p and aflex out of the link you suggested (http://perso.wanadoo.fr/pascal.obry/archive/flexyacc.tar.gz), which doesn't seem to have a version number, but has a file called CHANGES-1.4. In the file main_body.adb, in procedure AFLEXINIT, around line 397, the line CREATE(TEMP_ACTION_FILE, OUT_FILE); causes a USE_ERROR exception to be raised. I will try to rewrite the two places using temporary files with Create_Temp_File as you suggested. Thanks, rajat