summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cd7e2ed)
raw | patch | inline | side by side (parent: cd7e2ed)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 22 Jul 2019 19:33:54 +0000 (22:33 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 22 Jul 2019 19:33:54 +0000 (22:33 +0300) |
index fd732b9813a3455454f09a37996b49e3ed0c0cbc..824fbfaaccbf3740abda8d8dd174e7febbdbf245 100644 (file)
Binary files a/src/generic/CPfront/Mod/CPG.odc and b/src/generic/CPfront/Mod/CPG.odc differ
Binary files a/src/generic/CPfront/Mod/CPG.odc and b/src/generic/CPfront/Mod/CPG.odc differ
index 2ac4588206893f5a9383899661e4363f004752a5..00a38337900da77e3a2253d38b445450e2b61084 100644 (file)
Binary files a/src/generic/Dev/Mod/CPE.odc and b/src/generic/Dev/Mod/CPE.odc differ
Binary files a/src/generic/Dev/Mod/CPE.odc and b/src/generic/Dev/Mod/CPE.odc differ
index 071858292df5a6a35fe029d4685fa60aa6e8d728..916ab178adb689e23174dc5872ecc5fa6e7015c2 100644 (file)
(* compiler options: *)
checks = 0; allchecks = 1; assert = 2; obj = 3; ref = 4; allref = 5;
srcpos = 6; reallib = 7; signatures = 8;
+ (* pVarInd = 14; bigEnd = 15; *) ctime = 16;
+ mainprog = 20; include0 = 21;
hint = 29; oberon = 30; errorTrap = 31;
- defopt = {checks, assert, obj, ref, allref, srcpos, signatures};
+ defopt = {checks, assert, obj, ref, allref, srcpos, signatures, ctime};
version = "0.2";
ELSIF p = "-version" THEN
Console.WriteStr(version); Console.WriteLn;
Kernel.Quit(0)
+ ELSIF p = "-use-time" THEN
+ INCL(opts, ctime)
+ ELSIF p = "-no-use-time" THEN
+ EXCL(opts, ctime)
ELSE
Console.WriteStr("unknown option ");
Console.WriteStr(p); Console.WriteLn;
diff --git a/src/generic/Dsw/Mod/CompilerCPfrontMain.cp b/src/generic/Dsw/Mod/CompilerCPfrontMain.cp
index efbd6f7b0fab418960513297563485af9db7c486..f8ecb5ce1d04645d9d67c668d82f16d70a9c2e96 100644 (file)
(* compiler options: *)
checks = 0; allchecks = 1; assert = 2; obj = 3; ref = 4; allref = 5;
srcpos = 6; reallib = 7; signatures = 8;
+ (* pVarInd = 14; bigEnd = 15; *) ctime = 16;
mainprog = 20; include0 = 21;
hint = 29; oberon = 30; errorTrap = 31;
- (* defopt = {checks, assert, obj, ref, allref, srcpos, signatures}; *)
- defopt = {checks, assert, obj};
+ (* defopt = {checks, assert, obj, ref, allref, srcpos, signatures, ctime}; *)
+ defopt = {checks, assert, obj, ctime};
version = "0.2";
ELSIF p = "-version" THEN
Console.WriteStr(version); Console.WriteLn;
Kernel.Quit(0)
+ ELSIF p = "-use-time" THEN
+ INCL(opts, ctime)
+ ELSIF p = "-no-use-time" THEN
+ EXCL(opts, ctime)
ELSE
Console.WriteStr("unknown option ");
Console.WriteStr(p); Console.WriteLn;
IF oberon IN m.opts THEN INCL(DevCPM.options, DevCPM.oberon) END;
IF mainprog IN m.opts THEN INCL(DevCPG.opt, DevCPG.mainprog) END;
IF include0 IN m.opts THEN INCL(DevCPG.opt, DevCPG.include0) END;
+ IF ctime IN m.opts THEN INCL(DevCPG.opt, DevCPG.ctime) END;
DevCPT.Init(m.opts);
(* DevCPB.typSize := DevCPV.TypeSize; *)
DevCPB.typSize := DevCPV.TypSize;