From: sw@network-analysis-ltd.co.uk (Sak Wathanasin)
Newsgroups: comp.sys.mac.programmer
Subject: Re: CMarker 3.2.1 doesn't work?
Date: 14 Aug 92 09:23:23 GMT
Reply-To: sw@network-analysis-ltd.co.uk
Organization: Network Analysis Ltd
X-Mailer: uAccess - Macintosh Release: 1.6v1


In article <1992Aug13.223319.10578@reed.edu> (comp.sys.mac.programmer), bowman@reed.edu (Eric Bowman (bobo)) writes:

> After waiting a *very* long time for CMarker to do it's job on a bunch of
> source, I'm annoyed to report that, for me at least, it doesn't work.
> I haven't investigated it fully yet; it could be a problem with Mark
> (I'm using Shell 3.3a14 off of ETO #8); I don't really understand the
> syntax Mark uses.
> 
> Anyone else notice this?

Yes, I'm having problems with the 3.2.1 CMarker with MacApp 2.0.1 programs.

"{MPW}Tools:"cmarker -lang "C++" -i ":,{LocalCIncludes},{MACIncludes}" 6
	"{Target}"

### Error ### Invalid character (0x23 = '#') in input (end of file assumed)
    File "Tools:MacApp 2.0:Interfaces:CIncludes:UMacApp.h"; line 3568
### Error ### End of file reached while still processing a #conditional
    File "Tools:MacApp 2.0:Interfaces:CIncludes:UMacApp.h"; line 3568

With the earlier CMarker (the one in "Latest MPW"), the above works fine.

However, CMarker 3.2.1 does seem to work with MA 3 headers although it
gives lots of error messages (the "Mark" commands it generates are fine).
It seems to be a lot fussier than CFront... 

### Anachronism ### Specify either "public" or "private"
    File "Tools:MPW:Interfaces:CPlusIncludes:PascalString.h"; line 217
### Anachronism ### Specify either "public" or "private"
    File "Tools:MPW:Interfaces:CPlusIncludes:PascalString.h"; line 265
### Anachronism ### Specify either "public" or "private"
    File "Tools:MPW:Interfaces:CPlusIncludes:PascalString.h"; line 304
### Anachronism ### Specify either "public" or "private"
    File "Tools:MPW:Interfaces:CPlusIncludes:PascalString.h"; line 350
### Error ### "<identifier>" expected instead of "<type name: "CRect">"
    File "Tools:MPW:Interfaces:CPlusIncludes:Geometry.h"; line 260
### Error ### "<identifier>" expected instead of "<type name: "CRect">"
    File "Tools:MPW:Interfaces:CPlusIncludes:Geometry.h"; line 261
### Error ### "<identifier>" expected instead of "<type name: "CRect">"
    File "Tools:MPW:Interfaces:CPlusIncludes:Geometry.h"; line 262
### Error ### "<identifier>" expected instead of "<type name: "CRect">"
    File "Tools:MPW:Interfaces:CPlusIncludes:Geometry.h"; line 263
### Error ### "<identifier>" expected instead of "<type name: "CRect">"
    File "Tools:MPW:Interfaces:CPlusIncludes:Geometry.h"; line 276
### Error ### "<identifier>" expected instead of "<type name: "CRect">"
    File "Tools:MPW:Interfaces:CPlusIncludes:Geometry.h"; line 277
### Error ### "<identifier>" expected instead of "<type name: "CRect">"
    File "Tools:MPW:Interfaces:CPlusIncludes:Geometry.h"; line 278
### Error ### "<identifier>" expected instead of "<type name: "CRect">"
    File "Tools:MPW:Interfaces:CPlusIncludes:Geometry.h"; line 279
### Error ### "<identifier>" expected before "}"
    File "Tools:MPW:Interfaces:CPlusIncludes:Script.h"; line 605


Sak Wathanasin
Network Analysis Limited
178 Wainbody Ave South, Coventry CV3 6BX, UK

uucp:      ...!uknet!nan!sw  Phone: (+44) 203 419996
AppleLink: NAN.LTD           Internet: sw@network-analysis-ltd.co.uk