Skip to content

Commit c090b01

Browse files
Fix bug in grammar.ne where definition for primitiveDestination was missing (#3302)
1 parent e8ad240 commit c090b01

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/lib-engine/src/customCommandGrammar/generated/grammar.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const grammar: Grammar = {
6565
([bringMove, target, destination]) => bringMoveActionDescriptor(bringMove, target, destination)
6666
},
6767
{"name": "destination", "symbols": ["primitiveDestination"], "postprocess": id},
68-
{"name": "destination", "symbols": [(lexer.has("insertionMode") ? {type: "insertionMode"} : insertionMode), "target"], "postprocess":
68+
{"name": "primitiveDestination", "symbols": [(lexer.has("insertionMode") ? {type: "insertionMode"} : insertionMode), "target"], "postprocess":
6969
([insertionMode, target]) => primitiveDestinationDescriptor(insertionMode, target)
7070
},
7171
{"name": "target", "symbols": ["primitiveTarget"], "postprocess": id},

‎packages/lib-engine/src/customCommandGrammar/grammar.ne‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ action -> %bringMove target destination {%
3333

3434
destination -> primitiveDestination {% id %}
3535

36-
destination -> %insertionMode target {%
36+
primitiveDestination -> %insertionMode target {%
3737
([insertionMode, target]) => primitiveDestinationDescriptor(insertionMode, target)
3838
%}
3939

0 commit comments

Comments
 (0)