Merge pull request #2 from ajkeys/elixir-1.6-fix

Fix unescape_map in parse_helper for elixir 1.6
This commit is contained in:
Marcel Otto 2018-01-19 22:31:21 +01:00 committed by GitHub
commit 729d8a8a8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,9 +77,11 @@ defmodule RDF.Serialization.ParseHelper do
defp string_unescape_map(?r), do: ?\r defp string_unescape_map(?r), do: ?\r
defp string_unescape_map(?t), do: ?\t defp string_unescape_map(?t), do: ?\t
defp string_unescape_map(?u), do: true defp string_unescape_map(?u), do: true
defp string_unescape_map(:unicode), do: true
defp string_unescape_map(e), do: e defp string_unescape_map(e), do: e
defp iri_unescape_map(?u), do: true defp iri_unescape_map(?u), do: true
defp iri_unescape_map(:unicode), do: true
defp iri_unescape_map(e), do: e defp iri_unescape_map(e), do: e
def unescape_8digit_unicode_seq(string) do def unescape_8digit_unicode_seq(string) do