At 04:20 PM 12/9/2003 -0500, Dan Sugalski wrote:
Just ran across a bug in IMCC.

The .const directive is incorrectly available only within a .sub/.end block. Silly. (And wrong) That makes it very difficult to usefully use constants--generally they're defined at the top of a file (or in a file which is .included) and visible through the rest of the compilation unit.

When someone gets a chance to patch this one up, I'd much appreciate it.

Fixed.


Parser will not allow .const outside of a compilation unit and make it global to the
compilation. .const inside a .sub will be local to the sub only (no change there).


-Melvin


Reply via email to