X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=infix.h;h=e12af0473c3b3e32de8151f3d9649a707cea697e;hb=HEAD;hp=af6c18e02fb259e4b1703ed7bfb3712f5c408e1d;hpb=d94736d23b49e9b6653564cef67f96d028405c11;p=informlib.git diff --git a/infix.h b/infix.h index af6c18e..e12af04 100644 --- a/infix.h +++ b/infix.h @@ -1,9 +1,9 @@ ! ============================================================================== ! INFIX: Support for the optional library debugger extension "Infix". ! -! Supplied for use with Inform 6 -- Release 6.12.2 -- Serial number 180520 +! Supplied for use with Inform 6 -- Release 6.12.6 -- Serial number 220219 ! -! Copyright Graham Nelson 1993-2004 and David Griffith 2012-2018 +! Copyright Graham Nelson 1993-2004 and David Griffith 2012-2022 ! ! This file is free software: you can redistribute it and/or modify ! it under the terms of the GNU Affero General Public License as @@ -122,14 +122,14 @@ Array infix_text -> 128; i2 = range2-range1; it2 = infix_text+WORDSIZE; for (i=0 : i<=i2 : i++) { - #ifdef TARGET_ZCODE; + #Ifdef TARGET_ZCODE; infix_text-->0 = 62; @output_stream 3 infix_text; if (t) print (string) t-->i; else PrintingRule(i+range1); @output_stream -3; - #ifnot; ! TARGET_GLULX + #Ifnot; ! TARGET_GLULX if (t) PrintToBuffer(infix_text, 62, t-->i); else PrintToBuffer(infix_text, 62, PrintingRule, i+range1); - #endif; ! TARGET_ + #Endif; ! TARGET_ k = infix_text-->0; if (k ~= wl) jump XL; if (itlc->(it2->0) ~= itlc->(wa->0)) jump XL; @@ -597,11 +597,11 @@ Array InfixRV_commas --> 32; (InfixRV_lop-->lvalside)-->(InfixRV_rop-->lvalside) = acc; default: w = InfixRV_lvals-->lvalside; if (w == -1) return -1; - #ifdef TARGET_ZCODE; + #Ifdef TARGET_ZCODE; @storew #globals_array w acc; - #ifnot; + #Ifnot; @astore #globals_array w acc; - #endif; + #Endif; } switch(InfixRV_rvals-->maxi) { 'post++': acc--; @@ -864,14 +864,14 @@ Array InfixRV_commas --> 32; new_line; INFIXTT_NAMEDOBJECT: print "~", (name) noun, "~ (", noun, ")^"; if (brief) return; - <>; + <>; INFIXTT_CONSTANT: if (brief) "; == ", noun; switch (infix_data1 & 15) { nothing: print "; Constant ", (InfixPrintConstant) infix_parsed_lvalue, " == ", noun, "^"; - 2: <>; + 2: <>; 1: print "Class ", (name) noun, "^"; objectloop (a ofclass noun) { @@ -918,7 +918,7 @@ Array InfixRV_commas --> 32; if (a & 128) print "noun "; } new_line; - if (a & 1) <>; + if (a & 1) <>; INFIXTT_ROUTINE: if (brief) "; == ", noun; print "; Routine ", (InfixPrintRoutine) infix_parsed_lvalue, " (number ", @@ -1059,11 +1059,11 @@ Array InfixRV_commas --> 32; for (j=0,k=1 : ji; l = l | k; - #ifdef TARGET_ZCODE; + #Ifdef TARGET_ZCODE; @storeb #routine_flags_array i l; - #ifnot; ! TARGET_GLULX + #Ifnot; ! TARGET_GLULX @astoreb #routine_flags_array i l; - #endif; ! TARGET_ + #Endif; ! TARGET_ "; Watching routine ", (InfixPrintRoutine) infix_parsed_lvalue, "."; } if (metaclass(noun) == Object) { @@ -1080,19 +1080,19 @@ Array InfixRV_commas --> 32; for (j=0,k=1 : ji; l = l & (~k); - #ifdef TARGET_ZCODE; + #Ifdef TARGET_ZCODE; @storeb #routine_flags_array i l; - #ifnot; ! TARGET_GLULX + #Ifnot; ! TARGET_GLULX @astoreb #routine_flags_array i l; - #endif; ! TARGET + #Endif; ! TARGET "; Not watching ", (InfixPrintRoutine) infix_parsed_lvalue, "."; } if (metaclass(noun) == Object) { - #ifdef TARGET_ZCODE; + #Ifdef TARGET_ZCODE; @clear_attr noun infix__watching; - #ifnot; ! TARGET_GLULX + #Ifnot; ! TARGET_GLULX @astorebit noun (infix__watching+8) 0; - #endif; ! TARGET_ + #Endif; ! TARGET_ "; Not watching object ~", (name) noun, "~ (", noun, ")."; } InfixDescribeWatchSub();