handles malformed json without package section.

This commit is contained in:
Norayr Chilingarian 2022-01-12 05:46:02 +04:00
parent f1c4ca6ec3
commit c95ecfc60b

View file

@ -45,7 +45,8 @@ BEGIN
Out.Ln; Out.String("package named "); Out.String(d.name^); Out.String(" not found in the tree"); Out.Ln; HALT(61);
END;
IF rtrvRes = -2 THEN
Out.Ln; Out.String(d.name^); Out.String(".json malformed"); Out.Ln
Out.Ln; Out.String(d.name^); Out.String(".json malformed: no 'Package' section."); Out.Ln;
HALT(62);
END;
IF depStrs # NIL THEN