Fixed some grammar bugs
This commit is contained in:
parent
ac51181f34
commit
8df395e701
@ -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: (
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user