Fix failing ebnf unit test
parent
cc7d945a80
commit
970f0055c2
|
@ -213,6 +213,7 @@ DEFER: 'choice'
|
||||||
: 'actioned-sequence' ( -- parser )
|
: 'actioned-sequence' ( -- parser )
|
||||||
[
|
[
|
||||||
[ 'sequence' , "=>" syntax , 'action' , ] seq* [ first2 <ebnf-action> ] action ,
|
[ 'sequence' , "=>" syntax , 'action' , ] seq* [ first2 <ebnf-action> ] action ,
|
||||||
|
[ 'sequence' , ":" syntax , "a-zA-Z" range-pattern repeat1 [ >string ] action , "=>" syntax , 'action' , ] seq* [ first3 >r <ebnf-var> r> <ebnf-action> ] action ,
|
||||||
[ 'sequence' , ":" syntax , "a-zA-Z" range-pattern repeat1 [ >string ] action , ] seq* [ first2 <ebnf-var> ] action ,
|
[ 'sequence' , ":" syntax , "a-zA-Z" range-pattern repeat1 [ >string ] action , ] seq* [ first2 <ebnf-var> ] action ,
|
||||||
'sequence' ,
|
'sequence' ,
|
||||||
] choice* ;
|
] choice* ;
|
||||||
|
|
Loading…
Reference in New Issue