Permalink
Browse files

fix an element bug in jxa_utils

  • Loading branch information...
1 parent 0da66c2 commit 4f91cdeb9fd9551a189bb26faf5b6da27c55f2f6 @ericbmerritt ericbmerritt committed Jan 2, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/jxa_utils.erl
View
@@ -22,7 +22,9 @@ asm_from_file(Path) ->
to_ast(StringExpr) ->
Forms0 =
- lists:foldl(fun(<<"\n\n">>, Acc) ->
+ lists:foldl(fun(<<>>, Acc) ->
+ Acc;
+ (<<"\n\n">>, Acc) ->
Acc;
(El, Acc) ->
{ok, Tokens, _} =

0 comments on commit 4f91cde

Please sign in to comment.