changed end of parsing token from eof to completed_parse
This commit is contained in:
parent
1c5f54574c
commit
6deb3160ba
5 changed files with 12 additions and 12 deletions
|
@ -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.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue