aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/asciideck_to_html.erl4
-rw-r--r--src/asciideck_to_manpage.erl4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/asciideck_to_html.erl b/src/asciideck_to_html.erl
index 64f150d..62dfc11 100644
--- a/src/asciideck_to_html.erl
+++ b/src/asciideck_to_html.erl
@@ -14,6 +14,10 @@
-module(asciideck_to_html).
+-ifdef(OTP_RELEASE).
+-compile({nowarn_deprecated_function, [{erlang, get_stacktrace, 0}]}).
+-endif.
+
-export([translate/2]).
translate(AST, Opts) ->
diff --git a/src/asciideck_to_manpage.erl b/src/asciideck_to_manpage.erl
index 4c623be..23b110c 100644
--- a/src/asciideck_to_manpage.erl
+++ b/src/asciideck_to_manpage.erl
@@ -16,6 +16,10 @@
%% description of the format expected for man pages.
-module(asciideck_to_manpage).
+-ifdef(OTP_RELEASE).
+-compile({nowarn_deprecated_function, [{erlang, get_stacktrace, 0}]}).
+-endif.
+
-export([translate/2]).
translate(AST, Opts) ->