Skip to content

Commit

Permalink
Merge pull request #1 from ryderside/compiler-error-location-line
Browse files Browse the repository at this point in the history
OTP24 error_location support in lager_transform.erl
  • Loading branch information
ryderside authored Oct 11, 2023
2 parents fb340d7 + f55d539 commit 84bf334
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lager_transform.erl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@

-include("lager.hrl").

-export([parse_transform/2]).
-export([parse_transform/2, parse_transform_info/0]).

%% @private
parse_transform_info() ->
#{error_location => line}.

%% @private
parse_transform(AST, Options) ->
Expand Down

0 comments on commit 84bf334

Please sign in to comment.