From f55d5390aa2c44f8af6783eeb6b5dfb3945c17ad Mon Sep 17 00:00:00 2001 From: Jiangxiaowei Date: Wed, 11 Oct 2023 11:53:28 +0800 Subject: [PATCH] support OTP24 error_location Declare to the compiler that column mode is not supported --- src/lager_transform.erl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lager_transform.erl b/src/lager_transform.erl index b54d1d78..93304555 100644 --- a/src/lager_transform.erl +++ b/src/lager_transform.erl @@ -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) ->