Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!nf14.news-service.com!not-for-mail From: "A.D. Fundum" Message-ID: Newsgroups: comp.os.os2.programmer.tools Subject: Re: Force gnu assembler to invoke the preprocessor References: <4dfdcf49$0$7624$9b4e6d93@newsspool1.arcor-online.net> User-Agent: ProNews/2 V1.60.cp125 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@news-service.com Organization: News-Service.com Date: Sun, 19 Jun 2011 15:42:14 +0200 Lines: 27 NNTP-Posting-Host: 84.53.88.202 (84.53.88.202) NNTP-Posting-Date: Sun, 19 Jun 2011 15:42:14 +0200 Xref: x330-a1.tempe.blueboxinc.net comp.os.os2.programmer.tools:13 > invoke the preprocessor if the file extension is an uppercase S. > Most likely this is broken because OS/2 does not care about the > case of file names. So it's not broken, because OS/2 cares by preserving the case of file names. The information isn't lost, albeit it's ignored in some cases (like DEL *.S). One should be able to detect the case of the S, at least with HPFS and JFS. -- /* Kees.CMD */ CALL Lineout 'FOO.s','' CALL LineOut 'FOO.s' CALL Lineout 'BAR.S','' CALL LineOut 'BAR.S' CALL RxFuncAdd 'SysFileTree','RexxUtil','SysFileTree' CALL SysFileTree '*.S','file.','FO' DO i=1 TO file.0 IF Right(file.i,2)=='.S' THEN SAY 'Preprocessing' file.i IF Right(file.i,2)=='.s' THEN SAY 'Skipping' file.i END i '@DEL BAR.S > NUL' '@DEL FOO.S > NUL' EXIT