aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/test/erl2html2_SUITE_data/m1.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2015-05-13 15:56:11 +0200
committerPeter Andersson <[email protected]>2015-05-13 15:56:11 +0200
commit42cf8b8ca9daec40a3595034a15f9f4be1cc854b (patch)
tree1cb00ba4eed2b2ff033fc03d32204af3fcdb0e69 /lib/test_server/test/erl2html2_SUITE_data/m1.erl
parent6477f1ddad8cb2e8eb8336cda15fbb14d7fa8e93 (diff)
downloadotp-42cf8b8ca9daec40a3595034a15f9f4be1cc854b.tar.gz
otp-42cf8b8ca9daec40a3595034a15f9f4be1cc854b.tar.bz2
otp-42cf8b8ca9daec40a3595034a15f9f4be1cc854b.zip
Fix problem not recognizing 'macro' tuple from epp_dodger
OTP-12740
Diffstat (limited to 'lib/test_server/test/erl2html2_SUITE_data/m1.erl')
-rw-r--r--lib/test_server/test/erl2html2_SUITE_data/m1.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/test_server/test/erl2html2_SUITE_data/m1.erl b/lib/test_server/test/erl2html2_SUITE_data/m1.erl
index 156f1d0a51..1d405963a5 100644
--- a/lib/test_server/test/erl2html2_SUITE_data/m1.erl
+++ b/lib/test_server/test/erl2html2_SUITE_data/m1.erl
@@ -7,9 +7,15 @@
-include("header1.hrl").
-include("header2.hrl").
+-include("header3.hrl").
-define(MACRO1,value).
+%% This macro is used to select parser in erl2html2.
+%% If EPP_SWITCH is defined epp is used, else epp_dodger.
+epp_switch() ->
+ ?EPP_SWITCH.
+
%%% Comment
foo(x) ->
%% Comment