removes all traces of unquoted key and comment support
This commit is contained in:
parent
e4cbe15fa7
commit
e20e6746a2
19 changed files with 13 additions and 225 deletions
|
@ -73,12 +73,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