barrett@meridn.enet.dec.com (Keith Barrett) (08/25/90)
Well, I looked into the Lattice manual; it appears that the Lattice users guide states on page G37 that the maximum length of the SUBSTITUTION text for a #define cannot exceed 512 bytes, so I can see how a long #define might blow up. It would also be easy to forget that the expanded string could be longer than the actual #define statement and cause a "hidden" problem. I can also see how exceeding the compiler buffer limit might trash memory and GURU, but I agree that very poor and should have been trapped for instead - there's no excuse for a crash. See, I can do research. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Keith G. Barrett - Software Specialist Internet: barrett@meridn.enet.dec.com Digital Equipment Corp. "DEC has it now" UUCP: decwrl!meridn.enet!barrett // "Wait'll they get a load of me" - Joker \X/ "The Amiga is really a picoVAX" "You won't get it!" - the Prisoner ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~