Fix matrix market grammar.

This commit is contained in:
sebcrozet 2018-11-06 19:25:07 +01:00
parent 1866d59c4a
commit f43ab963ad

View File

@ -5,7 +5,7 @@ Header = { "%%" ~ (!NEWLINE ~ ANY)* }
Shape = { Dimension ~ Dimension ~ Dimension } Shape = { Dimension ~ Dimension ~ Dimension }
Document = { Document = {
SOI ~ SOI ~
NEWLINE ~ NEWLINE* ~
Header ~ Header ~
(NEWLINE ~ Comments)* ~ (NEWLINE ~ Comments)* ~
(NEWLINE ~ Shape) ~ (NEWLINE ~ Shape) ~