Permalink
Browse files

Tack on an EOF if none present

  • Loading branch information...
1 parent 9aa7532 commit 6ea5e2c343031edd25d411df298f271f2db6a818 @evanmiller evanmiller committed Jan 23, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/aleppo_parser.yrl
View
@@ -55,6 +55,7 @@ Terminals
Rootsymbol File.
File -> Elements eof : '$1' ++ ['$2'].
+File -> Elements : '$1' ++ [{eof, 0}].
Elements -> '$empty' : [].
Elements -> Elements IfBlock : '$1' ++ ['$2'].

0 comments on commit 6ea5e2c

Please sign in to comment.