We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f864795 commit bb38d00Copy full SHA for bb38d00
lib/spitfire.ex
@@ -2147,6 +2147,7 @@ defmodule Spitfire do
2147
parser
2148
end
2149
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
2151
defp eat_eol(parser) do
2152
case eat(%{:eol => true, :";" => true}, parser) do
2153
%{current_token: {token, _}} = parser when token in [:eol, :";"] -> eat_eol(parser)
0 commit comments