Skip to content

Commit

Permalink
Support genus names with multiple hyphens; closes #203
Browse files Browse the repository at this point in the history
  • Loading branch information
tobymarsden committed Nov 14, 2021
1 parent 6e213ef commit aedb0b2
Show file tree
Hide file tree
Showing 3 changed files with 2,943 additions and 2,891 deletions.
4 changes: 3 additions & 1 deletion ent/parser/grammar.peg
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ CapWord <- CapWordWithDash / CapWord1

CapWord1 <- NameUpperChar NameLowerChar NameLowerChar+ '?'?

CapWordWithDash <- CapWord1 Dash (UpperAfterDash / LowerAfterDash)
CapWordWithDash <- CapWord1 Dash WordAfterDash (Dash WordAfterDash)?

WordAfterDash <- (UpperAfterDash / LowerAfterDash)

UpperAfterDash <- CapWord1

Expand Down
Loading

0 comments on commit aedb0b2

Please sign in to comment.