@mathscan/math-exercise-engine 1.0.10 → 1.0.11
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/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -437,8 +437,9 @@ class MathExerciseParser extends CstParser {
|
|
|
437
437
|
this.OPTION(() => {
|
|
438
438
|
this.SUBRULE(this.question);
|
|
439
439
|
});
|
|
440
|
-
this.MANY2(
|
|
441
|
-
this.
|
|
440
|
+
this.MANY2({
|
|
441
|
+
GATE: this.BACKTRACK(this.contentBlock),
|
|
442
|
+
DEF: () => this.SUBRULE(this.contentBlock)
|
|
442
443
|
});
|
|
443
444
|
this.MANY3(() => {
|
|
444
445
|
this.SUBRULE(this.tool);
|
|
@@ -666,7 +667,7 @@ class MathExerciseParser extends CstParser {
|
|
|
666
667
|
this.MANY2(() => {
|
|
667
668
|
this.CONSUME2(Space);
|
|
668
669
|
});
|
|
669
|
-
this.
|
|
670
|
+
this.MANY3(() => {
|
|
670
671
|
this.CONSUME(Newline);
|
|
671
672
|
});
|
|
672
673
|
});
|