Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Make lager_transform work with boss_compiler's line offset #142

Closed
wants to merge 1 commit into from

3 participants

@tolbrino

Makes lager work for ChicagoBoss' compiler as well.

@Vagabond
Collaborator

My hesitancy to merge this is that I don't understand the boss_compiler enough to see where the column position data is coming from. Can you provide any extra documentation I can look at?

@mrallen1
Collaborator

Just a general ping on this PR - is it still needed? Relevant?

@tolbrino

No, I think boss_compiler has been adapted in the meantime.

@tolbrino tolbrino closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 15, 2013
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/lager_transform.erl
View
1  src/lager_transform.erl
@@ -200,6 +200,7 @@ transform_statement(Stmt) when is_list(Stmt) ->
transform_statement(Stmt) ->
Stmt.
+make_varname(Prefix, {Line, _}) -> make_varname(Prefix, Line);
make_varname(Prefix, Line) ->
list_to_atom(Prefix ++ atom_to_list(get(module)) ++ integer_to_list(Line)).
Something went wrong with that request. Please try again.