summaryrefslogtreecommitdiff
path: root/lib/syntax_tools
diff options
context:
space:
mode:
authorErlang/OTP <otp@erlang.org>2022-04-11 15:15:13 +0200
committerErlang/OTP <otp@erlang.org>2022-04-11 15:15:13 +0200
commita2c8df222e6d02fa518d5d6cbbea75a9dd720d30 (patch)
tree26beeda3b3b95d359b5cb2f2d545fedddc8e7133 /lib/syntax_tools
parent54332a7919f3188532d72bc4344cc6425424975c (diff)
downloaderlang-a2c8df222e6d02fa518d5d6cbbea75a9dd720d30.tar.gz
Prepare release
Diffstat (limited to 'lib/syntax_tools')
-rw-r--r--lib/syntax_tools/doc/src/notes.xml38
-rw-r--r--lib/syntax_tools/src/syntax_tools.app.src2
-rw-r--r--lib/syntax_tools/vsn.mk2
3 files changed, 40 insertions, 2 deletions
diff --git a/lib/syntax_tools/doc/src/notes.xml b/lib/syntax_tools/doc/src/notes.xml
index 2f046e0791..32a4f6c667 100644
--- a/lib/syntax_tools/doc/src/notes.xml
+++ b/lib/syntax_tools/doc/src/notes.xml
@@ -32,6 +32,44 @@
<p>This document describes the changes made to the Syntax_Tools
application.</p>
+<section><title>Syntax_Tools 3.0</title>
+
+ <section><title>Fixed Bugs and Malfunctions</title>
+ <list>
+ <item>
+ <p>The <c>erl_syntax_lib:analyze_attribute/1</c> function
+ would return <c>{Name, {Name, Value}}</c> instead of
+ <c>{Name, Value}</c> (which is the documented return
+ value).</p>
+ <p>
+ *** POTENTIAL INCOMPATIBILITY ***</p>
+ <p>
+ Own Id: OTP-17894 Aux Id: PR-5509 </p>
+ </item>
+ </list>
+ </section>
+
+
+ <section><title>Improvements and New Features</title>
+ <list>
+ <item>
+ <p>
+ Added support for selectable features as described in
+ EEP-60. Features can be enabled/disabled during
+ compilation with options (ordinary and <c>+term</c>) to
+ <c>erlc</c> as well as with directives in the file.
+ Similar options can be used to <c>erl</c> for
+ enabling/disabling features allowed at runtime. The new
+ <c>maybe</c> expression (EEP-49) is fully supported as
+ the feature <c>maybe_expr</c>.</p>
+ <p>
+ Own Id: OTP-17988</p>
+ </item>
+ </list>
+ </section>
+
+</section>
+
<section><title>Syntax_Tools 2.6</title>
<section><title>Fixed Bugs and Malfunctions</title>
diff --git a/lib/syntax_tools/src/syntax_tools.app.src b/lib/syntax_tools/src/syntax_tools.app.src
index e122c36fb4..a6eeeba5dc 100644
--- a/lib/syntax_tools/src/syntax_tools.app.src
+++ b/lib/syntax_tools/src/syntax_tools.app.src
@@ -16,4 +16,4 @@
{applications, [stdlib]},
{env, []},
{runtime_dependencies,
- ["compiler-7.0","erts-9.0","kernel-5.0","stdlib-@OTP-17988@"]}]}.
+ ["compiler-7.0","erts-9.0","kernel-5.0","stdlib-4.0"]}]}.
diff --git a/lib/syntax_tools/vsn.mk b/lib/syntax_tools/vsn.mk
index 87a6cb0158..1f94985baa 100644
--- a/lib/syntax_tools/vsn.mk
+++ b/lib/syntax_tools/vsn.mk
@@ -1 +1 @@
-SYNTAX_TOOLS_VSN = 2.6
+SYNTAX_TOOLS_VSN = 3.0