changed end of stream token

This commit is contained in:
alisdair sullivan 2010-06-07 16:10:29 -07:00
parent 152c2ec75f
commit 5460796e33
2 changed files with 8 additions and 8 deletions

View file

@ -41,7 +41,7 @@ test(Dir) ->
decoder(Flags) ->
jsx:decoder({jsx_test, test_event, []}, Flags).
test_event(end_of_stream, Acc) ->
test_event(end_of_json, Acc) ->
lists:reverse(Acc);
test_event(Event, Acc) ->
[Event] ++ Acc.