Permalink
Browse files

Minor improvement to parser error messages

  • Loading branch information...
1 parent b017b7b commit ea8cff7974a01eba6fa6723f314096b27aa6848d @glguy committed May 16, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Spreadsheet/Parser.hs
View
@@ -74,6 +74,7 @@ sortOrder = (char '+' >> white >> return Ascending)
-- | 'newHeader' parses the new header placeholder
newHeader :: Parsec String () HeaderToken
newHeader = char '+' >> white >> return NewColumn
+ <?> "new header marker (+)"
-- | 'formatCell' parses the "type" field of a column
formatCell :: Parsec String () CellType

0 comments on commit ea8cff7

Please sign in to comment.