changed end of parsing token from eof to completed_parse

This commit is contained in:
alisdair sullivan 2010-05-26 06:36:06 -07:00
parent 1c5f54574c
commit 6deb3160ba
5 changed files with 12 additions and 12 deletions

View file

@ -88,7 +88,7 @@ jsx_event({Type, Value}, {Acc, Indent, Level, new}) ->
jsx_event({Type, Value}, {Acc, Indent, Level, key}) ->
{Acc ++ format(Type, Value), Indent, Level, value};
jsx_event(eof, {Acc, _, _, _}) ->
jsx_event(completed_parse, {Acc, _, _, _}) ->
Acc.