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)
|