@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.js
CHANGED
|
@@ -439,8 +439,9 @@ class MathExerciseParser extends chevrotain.CstParser {
|
|
|
439
439
|
this.OPTION(() => {
|
|
440
440
|
this.SUBRULE(this.question);
|
|
441
441
|
});
|
|
442
|
-
this.MANY2(
|
|
443
|
-
this.
|
|
442
|
+
this.MANY2({
|
|
443
|
+
GATE: this.BACKTRACK(this.contentBlock),
|
|
444
|
+
DEF: () => this.SUBRULE(this.contentBlock)
|
|
444
445
|
});
|
|
445
446
|
this.MANY3(() => {
|
|
446
447
|
this.SUBRULE(this.tool);
|
|
@@ -668,7 +669,7 @@ class MathExerciseParser extends chevrotain.CstParser {
|
|
|
668
669
|
this.MANY2(() => {
|
|
669
670
|
this.CONSUME2(Space);
|
|
670
671
|
});
|
|
671
|
-
this.
|
|
672
|
+
this.MANY3(() => {
|
|
672
673
|
this.CONSUME(Newline);
|
|
673
674
|
});
|
|
674
675
|
});
|