Skip to content

Commit bb38d00

Browse files
committed
add comment
1 parent f864795 commit bb38d00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/spitfire.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,6 +2147,7 @@ defmodule Spitfire do
21472147
parser
21482148
end
21492149

2150+
# TODO this may be too greedy. Probably the better option would be to have distinct eat_eol/1 and eat_eol_or_semicolon/1
21502151
defp eat_eol(parser) do
21512152
case eat(%{:eol => true, :";" => true}, parser) do
21522153
%{current_token: {token, _}} = parser when token in [:eol, :";"] -> eat_eol(parser)

0 commit comments

Comments
 (0)