Fixed some grammar bugs

This commit is contained in:
Bruce Hill 2021-01-18 14:52:33 -08:00
parent ac51181f34
commit 8df395e701
2 changed files with 3 additions and 3 deletions

View File

@ -24,8 +24,8 @@ suffixed-pat: (
/ Not-eq-pat
)
Eq-pat: @first=pat__"=="__@second=pat
Not-eq-pat: @first=pat__"!="__@second=pat
Eq-pat: @first=(suffixed-pat / simple-pat)__"=="__@second=pat
Not-eq-pat: @first=(suffixed-pat / simple-pat)__"!="__@second=pat
Dot: `. !`.
String: (

View File

@ -17,4 +17,4 @@ class: class-def +(\N ..$)
class-def: ^_|"class"|_id[_parens]_`:
function: function-def +(\N ..$)
function-def: ^_|"def"|_id parens `:
import: ^_["from"| ..>(|"import"|)] (|"import"|)%parens ..$%parens
import: ^_["from"| ..>(|"import"|)%parens] |"import"| ..$%parens