fixed typo in decoder gen
This commit is contained in:
parent
00d1511b4d
commit
a6a0a1ead8
6 changed files with 16 additions and 16 deletions
|
@ -38,7 +38,7 @@ to_abf(Backend) ->
|
||||||
end,
|
end,
|
||||||
Name = to_modname(Backend),
|
Name = to_modname(Backend),
|
||||||
{ok, _, ABF} = compile:file(
|
{ok, _, ABF} = compile:file(
|
||||||
"priv/jsx_decoder.erl",
|
"priv/jsx_decoder_template.erl",
|
||||||
[binary, 'P', {outdir, Out}, {d, list_to_atom(Backend)}, {d, name, Name}]
|
[binary, 'P', {outdir, Out}, {d, list_to_atom(Backend)}, {d, name, Name}]
|
||||||
),
|
),
|
||||||
{Name, ABF}.
|
{Name, ABF}.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
-file("priv/jsx_decoder.erl", 1).
|
-file("priv/jsx_decoder_template.erl", 1).
|
||||||
|
|
||||||
-module(jsx_utf16).
|
-module(jsx_utf16).
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
-file("./include/jsx_decoder.hrl", 1).
|
-file("./include/jsx_decoder.hrl", 1).
|
||||||
|
|
||||||
-file("priv/jsx_decoder.erl", 38).
|
-file("priv/jsx_decoder_template.erl", 35).
|
||||||
|
|
||||||
-file("./include/jsx_types.hrl", 1).
|
-file("./include/jsx_types.hrl", 1).
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
| indent
|
| indent
|
||||||
| {output_encoding, supported_utf()}.
|
| {output_encoding, supported_utf()}.
|
||||||
|
|
||||||
-file("priv/jsx_decoder.erl", 39).
|
-file("priv/jsx_decoder_template.erl", 36).
|
||||||
|
|
||||||
-spec parse(JSON :: json(), Opts :: jsx_opts()) -> jsx_parser_result().
|
-spec parse(JSON :: json(), Opts :: jsx_opts()) -> jsx_parser_result().
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
-file("priv/jsx_decoder.erl", 1).
|
-file("priv/jsx_decoder_template.erl", 1).
|
||||||
|
|
||||||
-module(jsx_utf16le).
|
-module(jsx_utf16le).
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
-file("./include/jsx_decoder.hrl", 1).
|
-file("./include/jsx_decoder.hrl", 1).
|
||||||
|
|
||||||
-file("priv/jsx_decoder.erl", 38).
|
-file("priv/jsx_decoder_template.erl", 35).
|
||||||
|
|
||||||
-file("./include/jsx_types.hrl", 1).
|
-file("./include/jsx_types.hrl", 1).
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
| indent
|
| indent
|
||||||
| {output_encoding, supported_utf()}.
|
| {output_encoding, supported_utf()}.
|
||||||
|
|
||||||
-file("priv/jsx_decoder.erl", 39).
|
-file("priv/jsx_decoder_template.erl", 36).
|
||||||
|
|
||||||
-spec parse(JSON :: json(), Opts :: jsx_opts()) -> jsx_parser_result().
|
-spec parse(JSON :: json(), Opts :: jsx_opts()) -> jsx_parser_result().
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
-file("priv/jsx_decoder.erl", 1).
|
-file("priv/jsx_decoder_template.erl", 1).
|
||||||
|
|
||||||
-module(jsx_utf32).
|
-module(jsx_utf32).
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
-file("./include/jsx_decoder.hrl", 1).
|
-file("./include/jsx_decoder.hrl", 1).
|
||||||
|
|
||||||
-file("priv/jsx_decoder.erl", 38).
|
-file("priv/jsx_decoder_template.erl", 35).
|
||||||
|
|
||||||
-file("./include/jsx_types.hrl", 1).
|
-file("./include/jsx_types.hrl", 1).
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
| indent
|
| indent
|
||||||
| {output_encoding, supported_utf()}.
|
| {output_encoding, supported_utf()}.
|
||||||
|
|
||||||
-file("priv/jsx_decoder.erl", 39).
|
-file("priv/jsx_decoder_template.erl", 36).
|
||||||
|
|
||||||
-spec parse(JSON :: json(), Opts :: jsx_opts()) -> jsx_parser_result().
|
-spec parse(JSON :: json(), Opts :: jsx_opts()) -> jsx_parser_result().
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
-file("priv/jsx_decoder.erl", 1).
|
-file("priv/jsx_decoder_template.erl", 1).
|
||||||
|
|
||||||
-module(jsx_utf32le).
|
-module(jsx_utf32le).
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
-file("./include/jsx_decoder.hrl", 1).
|
-file("./include/jsx_decoder.hrl", 1).
|
||||||
|
|
||||||
-file("priv/jsx_decoder.erl", 38).
|
-file("priv/jsx_decoder_template.erl", 35).
|
||||||
|
|
||||||
-file("./include/jsx_types.hrl", 1).
|
-file("./include/jsx_types.hrl", 1).
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
| indent
|
| indent
|
||||||
| {output_encoding, supported_utf()}.
|
| {output_encoding, supported_utf()}.
|
||||||
|
|
||||||
-file("priv/jsx_decoder.erl", 39).
|
-file("priv/jsx_decoder_template.erl", 36).
|
||||||
|
|
||||||
-spec parse(JSON :: json(), Opts :: jsx_opts()) -> jsx_parser_result().
|
-spec parse(JSON :: json(), Opts :: jsx_opts()) -> jsx_parser_result().
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
-file("priv/jsx_decoder.erl", 1).
|
-file("priv/jsx_decoder_template.erl", 1).
|
||||||
|
|
||||||
-module(jsx_utf8).
|
-module(jsx_utf8).
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
-file("./include/jsx_decoder.hrl", 1).
|
-file("./include/jsx_decoder.hrl", 1).
|
||||||
|
|
||||||
-file("priv/jsx_decoder.erl", 38).
|
-file("priv/jsx_decoder_template.erl", 35).
|
||||||
|
|
||||||
-file("./include/jsx_types.hrl", 1).
|
-file("./include/jsx_types.hrl", 1).
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
| indent
|
| indent
|
||||||
| {output_encoding, supported_utf()}.
|
| {output_encoding, supported_utf()}.
|
||||||
|
|
||||||
-file("priv/jsx_decoder.erl", 39).
|
-file("priv/jsx_decoder_template.erl", 36).
|
||||||
|
|
||||||
-spec parse(JSON :: json(), Opts :: jsx_opts()) -> jsx_parser_result().
|
-spec parse(JSON :: json(), Opts :: jsx_opts()) -> jsx_parser_result().
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue