removes options for unquoted keys and comments from eep0018
This commit is contained in:
parent
51eb579f86
commit
686690ec99
1 changed files with 2 additions and 2 deletions
|
@ -82,12 +82,12 @@ extract_parser_opts(Opts) ->
|
|||
|
||||
extract_parser_opts([], Acc) -> Acc;
|
||||
extract_parser_opts([{K,V}|Rest], Acc) ->
|
||||
case lists:member(K, [comments, encoding, unquoted_keys]) of
|
||||
case lists:member(K, [encoding]) of
|
||||
true -> [{K,V}] ++ Acc
|
||||
; false -> extract_parser_opts(Rest, Acc)
|
||||
end;
|
||||
extract_parser_opts([K|Rest], Acc) ->
|
||||
case lists:member(K, [comments, encoding, unquoted_keys]) of
|
||||
case lists:member(K, [encoding]) of
|
||||
true -> [K] ++ Acc
|
||||
; false -> extract_parser_opts(Rest, Acc)
|
||||
end.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue