Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
pmineiro committed Sep 11, 2009
1 parent dbdfe60 commit f1c06e2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Version 0.2.1 [ NYR ]
* variable warning fix (not sure if this was needed, but anyway ...)

Version 0.2.0
* handle structured match statements (duh)

Expand Down
2 changes: 1 addition & 1 deletion fw-pkgin/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# environment variable FW_PACKAGE_DEFAULT_MAINTAINER if non-empty

FW_PACKAGE_NAME="lyet"
FW_PACKAGE_VERSION="0.2.0"
FW_PACKAGE_VERSION="0.2.1"
FW_PACKAGE_MAINTAINER="Paul Mineiro <[email protected]>"
FW_PACKAGE_SHORT_DESCRIPTION="Erlang parse transform to provide let like functionality."
FW_PACKAGE_DESCRIPTION=`cat README`
Expand Down
3 changes: 3 additions & 0 deletions src/lyet.erl
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ xform({M,F,A}, Fun, Forms, Context0) ->
{Fname, Arity} = erl_syntax_lib:analyze_function(Form),
VarNames = erl_syntax_lib:new_variable_names(
Arity,
fun (N) ->
list_to_atom ("_V" ++ integer_to_list (N))
end,
erl_syntax_lib:variables(Form)),
{Form, [{function, Fname},
{arity, Arity},
Expand Down
2 changes: 2 additions & 0 deletions tests/Makefile.am.local
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
TESTS = \
module-testlyet

testlyet.beam: testlyet.erl ../src/lyet.beam

0 comments on commit f1c06e2

Please sign in to comment.