aboutsummaryrefslogtreecommitdiffstats
path: root/src/asciideck_to_html.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-08-14 07:47:32 +0200
committerLoïc Hoguin <[email protected]>2018-08-14 07:47:32 +0200
commit2a19b0fab81e4f4aec444ab37caff34c18d51017 (patch)
treeb768e1f3b711ffd5646dcaec4d3adf7f6e81db9b /src/asciideck_to_html.erl
parente96b15d966af2ca8ff69b1d2ade162a225407f12 (diff)
downloadasciideck-2a19b0fab81e4f4aec444ab37caff34c18d51017.tar.gz
asciideck-2a19b0fab81e4f4aec444ab37caff34c18d51017.tar.bz2
asciideck-2a19b0fab81e4f4aec444ab37caff34c18d51017.zip
Fix compilation for OTP 21
Diffstat (limited to 'src/asciideck_to_html.erl')
-rw-r--r--src/asciideck_to_html.erl4
1 files changed, 4 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) ->