@markdy/core 0.7.18 → 0.7.19
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1056,6 +1056,7 @@ function pushEvent(ast, scope, ev) {
|
|
|
1056
1056
|
if (endTime > scope.prevEnd) scope.prevEnd = endTime;
|
|
1057
1057
|
}
|
|
1058
1058
|
function validateActionForActor(action, actorDef, mustUnderstand, lineNum, warnings) {
|
|
1059
|
+
if (isKnownAction(actorDef.type, action)) return;
|
|
1059
1060
|
if (isFigureOnlyAction(action)) {
|
|
1060
1061
|
if (actorDef.type !== "figure") {
|
|
1061
1062
|
throw new ParseError(
|
|
@@ -1065,7 +1066,6 @@ function validateActionForActor(action, actorDef, mustUnderstand, lineNum, warni
|
|
|
1065
1066
|
}
|
|
1066
1067
|
return;
|
|
1067
1068
|
}
|
|
1068
|
-
if (isKnownAction(actorDef.type, action)) return;
|
|
1069
1069
|
if (mustUnderstand) {
|
|
1070
1070
|
throw new ParseError(`Unknown action "${action}" (must-understand form)`, lineNum);
|
|
1071
1071
|
}
|