bahasa-simpl 1.0.19 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/simpl.js +8 -2
- package/package.json +1 -1
package/dist/simpl.js
CHANGED
|
@@ -274,11 +274,14 @@ const PetikTipe = (() => {
|
|
|
274
274
|
}
|
|
275
275
|
i++;
|
|
276
276
|
if (formator.length === 0) {
|
|
277
|
-
v.error("Baris dalam
|
|
277
|
+
v.error("Baris dalam format tidak mempunyai cukup elemen.");
|
|
278
278
|
}
|
|
279
279
|
finalized += formator.shift();
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
+
if (formator.length !== 0) {
|
|
283
|
+
v.error("Baris dalam format mempunyai terlalu banyak elemen.");
|
|
284
|
+
}
|
|
282
285
|
return new Value(petikSymbol, finalized);
|
|
283
286
|
|
|
284
287
|
}));
|
|
@@ -550,11 +553,14 @@ const GLOBAL_ENV = (() => {
|
|
|
550
553
|
}
|
|
551
554
|
i++;
|
|
552
555
|
if (formator.length === 0) {
|
|
553
|
-
v.error("Baris dalam
|
|
556
|
+
v.error("Baris dalam tulisf tidak mempunyai cukup elemen.");
|
|
554
557
|
}
|
|
555
558
|
finalized += formator.shift();
|
|
556
559
|
}
|
|
557
560
|
}
|
|
561
|
+
if (formator.length !== 0) {
|
|
562
|
+
v.error("Baris dalam tulisf mempunyai terlalu banyak elemen.");
|
|
563
|
+
}
|
|
558
564
|
v.output.push(finalized);
|
|
559
565
|
return d;
|
|
560
566
|
}));
|