X-Git-Url: https://jxself.org/git/?p=mes.git;a=blobdiff_plain;f=lib.c;h=3c9f49c9e61f1a4eb7b3c5c3728c10e00859b6cc;hp=10ee9f7b301ed7c12ec3d1d1928f6ceedf32a2e2;hb=240f2814f42c0b0ac13420764247b2f7f0821ac5;hpb=4e12e14b852b4d7cf74c7504a0fdecfb6daf8336 diff --git a/lib.c b/lib.c index 10ee9f7b..3c9f49c9 100644 --- a/lib.c +++ b/lib.c @@ -172,7 +172,8 @@ dump () fputc ('S', stdout); fputc (g_stack >> 8, stdout); fputc (g_stack % 256, stdout); - if (getenv ("MES_HACK")) + // See HACKING, simple crafted dump for tiny-mes.c + if (getenv ("MES_TINY")) { TYPE (9) = 0x2d2d2d2d; CAR (9) = 0x2d2d2d2d; @@ -210,7 +211,7 @@ load_env (SCM a) ///((internal)) { r0 = a; if (getenv ("MES_MINI")) - g_stdin = fopen ("mini-0.mes", "r"); + g_stdin = fopen ("module/mes/mini-0.mes", "r"); else { g_stdin = fopen ("module/mes/read-0.mes", "r"); @@ -226,7 +227,7 @@ SCM bload_env (SCM a) ///((internal)) { #if MES_MINI - g_stdin = fopen ("mini-0.mo", "r"); + g_stdin = fopen ("module/mes/read-0-32.mo", "r"); #else g_stdin = fopen ("module/mes/read-0.mo", "r"); g_stdin = g_stdin ? g_stdin : fopen (PREFIX "module/mes/read-0.mo", "r");