removes all traces of unquoted key and comment support

This commit is contained in:
alisdair sullivan 2011-07-03 17:42:44 -07:00
parent e4cbe15fa7
commit e20e6746a2
19 changed files with 13 additions and 225 deletions

View file

@ -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.