situations where the redundant XOR operands are on different grouping
levels; this helps to optimise some heavily inlined greater-than tests.
+9. Fixed unary operators applied to constants (AIS: it seems that my patch to
+ solve this issue earlier was itself buggy).
+
Changes by Alex Smith
-9. convickt can now produce its output as INTERCAL initialisation of a tail
+10. convickt can now produce its output as INTERCAL initialisation of a tail
array. (This doesn't auto-offset between the different characters; it is
therefore mostly useful for producing Baudot arrays for CLC-INTERCAL-style
IO.)
-10. The function clock_gettime is now supported by the yuk profiler as an
+11. The function clock_gettime is now supported by the yuk profiler as an
alternative method of getting a high-resolution clock for profiling (it
is available on at least Linux).
-11. Upgraded the autoconfiguration to a substantially newer version of
+12. Upgraded the autoconfiguration to a substantially newer version of
autoconf. Hopefully the same script works on all operating systems now,
because I've removed the one that configures for DOS (which was previously
separate).
-12. Added support for computed CREATE (the computation is done at create-time,
+13. Added support for computed CREATE (the computation is done at create-time,
rather than when the unknown statement is encountered); partly because
this was rather easy, but mostly because it can be used to simulate a
computed NEXT, thus making the example expansion library compunex (which I
features of NEXT, anyway, rather than the small subset COMPUNEX could
manage.)
-13. Plugged a couple of small memory leaks; however, there are still several
+14. Plugged a couple of small memory leaks; however, there are still several
much bigger memory leaks that could do with being fixed.
-14. About the version number: this release is mostly bugfixing, but does add a
+15. About the version number: this release is mostly bugfixing, but does add a
few new features, so I wasn't sure whether to increment the major or the
minor version number. In the end, I used the old INTERCAL maxim 'when in
doubt, do both'.
/* enforce the 16-bit constant constraint */
if ((unsigned int)$3 > ick_Max_small)
ick_lose(IE017, iyylineno, (char *)NULL);
- if(variableconstants) /* AIS */
- $$->rval->constant = intern(MESH, $2);
+ if(variableconstants) /* AIS, patched by JH */
+ $$->rval->constant = intern(MESH, $3);
else
- $$->rval->constant = $2;
+ $$->rval->constant = $3;
}
else {
$$->rval->constant = intern($1, $3);