Permalink
Browse files

fix grammar

  • Loading branch information...
1 parent a3bfa85 commit c2219f31595bbc2aa59ac8fc2e5fbf92f4f0b31e @frioux committed Oct 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/DU/RecipeParser.pm
@@ -19,7 +19,7 @@ my $grammar = <<'PEGEX';
recipe:
cocktail
description
- ingredients
+ ingredients ~
footers
cocktail: /
@@ -68,7 +68,7 @@ unit: (<ounce>|<tablespoon>|<teaspoon>|<dash>)/(?i: ~ of)?/
name: / (<ANY>+?) ~ (= <EOL>) /
-note: / <HASH> <SPACE>* (<ANY>+?) <SPACE>* <EOL> /
+note: / <SPACE>* <HASH> <SPACE>* (<ANY>+?) <SPACE>* <EOL> /
footers: metadata+

0 comments on commit c2219f3

Please sign in to comment.