From: Shamus Hammons Date: Thu, 20 Jul 2017 04:22:01 +0000 (-0500) Subject: Fix for bug #101 (bad macro handling). X-Git-Tag: v2.1.0~116 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=inline;h=f7f625cf6c2f4b96854ac0e911ca2b1c249f4e05;hp=f7f625cf6c2f4b96854ac0e911ca2b1c249f4e05;p=rmac Fix for bug #101 (bad macro handling). Just when you thought it was safe to write macros with constants, up pops a condition you thought was dead and buried yet lurches inexorably towards your code and causes it to segfault. As it turns out, it was bad token stream parsing that caused this, with a constant masquerading as a STRING token being the particular mischief maker. The code that was in place was an awful mess of horrible garbage code that wasn't even being used anymore--so that crap is gone, and replaced with something more (I hope) sane and maintainable. I think that the code that was there survived purging for so long because nobody really understood it; now that I understand it, I can't believe that it was written in the first place (to be fair, some of it was patching done by me, though the bulk of awfulness didn't come from that code). Onward and upward... ---