aboutsummaryrefslogtreecommitdiffstats
path: root/make/emd2exml.in
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2014-02-16 00:54:08 +0100
committerRickard Green <[email protected]>2014-02-19 15:30:44 +0100
commit3fd4e3e770fbed95fd6fa2d547945ac71256339c (patch)
treea856f741c5d307d4e56334b650740d7e22073cbf /make/emd2exml.in
parenta37ea8849ab29cb8d15ab3bc5a3ba1fc16dd0276 (diff)
downloadotp-3fd4e3e770fbed95fd6fa2d547945ac71256339c.tar.gz
otp-3fd4e3e770fbed95fd6fa2d547945ac71256339c.tar.bz2
otp-3fd4e3e770fbed95fd6fa2d547945ac71256339c.zip
Misc adjustments of OTP version
Diffstat (limited to 'make/emd2exml.in')
-rw-r--r--make/emd2exml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/make/emd2exml.in b/make/emd2exml.in
index 5bfe89894e..48473349d0 100644
--- a/make/emd2exml.in
+++ b/make/emd2exml.in
@@ -334,6 +334,8 @@ text(Line) ->
text("%ERTS-VSN%" ++ Cs, Acc) ->
text(Cs, ["@ERTS_VSN@"|Acc]);
+text("%OTP-VSN%" ++ Cs, Acc) ->
+ text(Cs, ["@OTP_VSN@"|Acc]);
text("%OTP-REL%" ++ Cs, Acc) ->
text(Cs, ["@OTP_REL@"|Acc]);
@@ -357,6 +359,8 @@ put_text(#state{c = CTag, emphasis = EmTag} = S, Line) ->
put_text(S, "%ERTS-VSN%"++Cs, CTag, EmTag, Acc) ->
put_text(S, Cs, CTag, EmTag, ["@ERTS_VSN@"|Acc]);
+put_text(S, "%OTP-VSN%"++Cs, CTag, EmTag, Acc) ->
+ put_text(S, Cs, CTag, EmTag, ["@OTP_VSN@"|Acc]);
put_text(S, "%OTP-REL%"++Cs, CTag, EmTag, Acc) ->
put_text(S, Cs, CTag, EmTag, ["@OTP_REL@"|Acc]);
@@ -560,6 +564,8 @@ code(Line) ->
code("%ERTS-VSN%" ++ Cs, Acc) ->
code(Cs, ["@ERTS_VSN@"|Acc]);
+code("%OTP-VSN%" ++ Cs, Acc) ->
+ code(Cs, ["@OTP_VSN@"|Acc]);
code("%OTP-REL%" ++ Cs, Acc) ->
code(Cs, ["@OTP_REL@"|Acc]);