TIP: Click on subject to list as thread! ANSI
echo: locuser
to: Roy McNeill
from: Paul Edwards
date: 1996-09-13 00:33:44
subject: indent

RM> fprintf (output, "%.*s", e_lab - s_lab, s_lab);

PE> But this does not solve the problem with the executable that comes in
PE> indentpe.zip, on your system.  That is still unresolved, yeah?

RM> Correct. I gave up.

Ok.  If you want that to work, you'll basically need to get the compiler
and figure out what indent is doing wrong.  I can't reproduce the problem
here.

RM> Ok, but it may take a week or two to tidy it up. I'll try to get
RM> the warning list below 50 while I'm at it.

It's probably not a good idea to do that.  Minimal changes are the order of
the day I reckon.  Because otherwise you're going to get a completely
diverging version of indent, with no chance that it gets into the original
author's work (and thus becomes someone else's job to maintain!).

RM> I might try an arrangement like

RM> #ifdef __BORLANDC__
RM> #define HugeChar   char huge
RM> #else
RM> #define HugeChar char
RM> #endif

RM> and use HugeChar for the pointers in io.c that I want to be huge.

Why do you need huge pointers, and can't you just compile it huge anyway? 
BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.