Groups | Search | Server Info | Login | Register


Groups > comp.os.os2.programmer.tools > #13

Re: Force gnu assembler to invoke the preprocessor

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" <what.ever@neverm.ind>
Message-ID <o8uYFJ3iqTdG-pn2-lddw7WF8YUTz@localhost> (permalink)
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

Show key headers only | View raw


 > 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

Back to comp.os.os2.programmer.tools | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Force gnu assembler to invoke the preprocessor Marcel Müller <news.5.maazl@spamgourmet.org> - 2011-06-19 12:28 +0200
  Re: Force gnu assembler to invoke the preprocessor "A.D. Fundum" <what.ever@neverm.ind> - 2011-06-19 15:42 +0200
    Re: Force gnu assembler to invoke the preprocessor "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-03 16:46 +0200
      DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) Andreas Schnellbacher <aschn@despammed.com> - 2011-07-04 00:44 +0200
        Re: DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-04 11:09 +0200
          Re: DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-21 22:54 +0200
            Re: DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-24 12:23 +0200
            Re: DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-24 12:32 +0200
  Re: Force gnu assembler to invoke the preprocessor Dave Yeo <dave.r.yeo@gmail.com> - 2011-06-19 11:24 -0700

csiph-web