fixed typo in decoder gen

This commit is contained in:
alisdair sullivan 2010-08-10 11:05:40 -07:00
parent 00d1511b4d
commit a6a0a1ead8
6 changed files with 16 additions and 16 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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