<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/syntax_tools/test, branch OTP-21.3.4</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>syntax_tools: Fix pretty-printing of type funs</title>
<updated>2019-01-15T10:24:57+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-01-15T10:24:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=80b0574260924c4ef888fe319274f9303982d45b'/>
<id>80b0574260924c4ef888fe319274f9303982d45b</id>
<content type='text'>
See also ERL-815.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See also ERL-815.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'hasse/syntax_tools/fix_revert/OTP-15294' into maint</title>
<updated>2018-09-14T07:48:32+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2018-09-14T07:48:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=51dcd166c58bf371da4c85250c8d76c27b4148da'/>
<id>51dcd166c58bf371da4c85250c8d76c27b4148da</id>
<content type='text'>
* hasse/syntax_tools/fix_revert/OTP-15294:
  erts: Add comment about [] and nil() to The Abstract Format
  syntax_tools: Correct erl_syntax:revert/1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* hasse/syntax_tools/fix_revert/OTP-15294:
  erts: Add comment about [] and nil() to The Abstract Format
  syntax_tools: Correct erl_syntax:revert/1
</pre>
</div>
</content>
</entry>
<entry>
<title>syntax_tools: Correct erl_syntax:revert/1</title>
<updated>2018-09-12T10:24:28+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2018-09-11T07:44:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1b9128438358155a215c465b5a3d1deb9c4d9965'/>
<id>1b9128438358155a215c465b5a3d1deb9c4d9965</id>
<content type='text'>
revert/1 did not handle the types tuple() and map() correctly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
revert/1 did not handle the types tuple() and map() correctly.
</pre>
</div>
</content>
</entry>
<entry>
<title>syntax_tools: Correct unfolding of the stacktrace variable</title>
<updated>2018-09-10T10:20:57+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2018-09-10T10:20:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=7db359b7a1d9b33b25750b29c92c6074ab415c45'/>
<id>7db359b7a1d9b33b25750b29c92c6074ab415c45</id>
<content type='text'>
The bug was introduced in 9ab233.

See also https://bugs.erlang.org/browse/ERL-719.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The bug was introduced in 9ab233.

See also https://bugs.erlang.org/browse/ERL-719.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support bitstrings as literals in erl_syntax</title>
<updated>2018-06-28T13:37:29+00:00</updated>
<author>
<name>Péter Gömöri</name>
<email>gomoripeti@gmail.com</email>
</author>
<published>2018-06-17T10:32:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=94c9898e8dfb1b71eac318375b5c1bae5021733d'/>
<id>94c9898e8dfb1b71eac318375b5c1bae5021733d</id>
<content type='text'>
Add support of non-whole-byte binaries to `abtract/1`, `concrete/1` and
`is_literal/1`. (They are literals in the beam file)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support of non-whole-byte binaries to `abtract/1`, `concrete/1` and
`is_literal/1`. (They are literals in the beam file)
</pre>
</div>
</content>
</entry>
<entry>
<title>syntax_tools: Fix a bug regarding reverting map types.</title>
<updated>2018-05-30T10:52:42+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2018-05-30T10:52:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d129131ee8ffda4713f807e6148b601c16f1b0bb'/>
<id>d129131ee8ffda4713f807e6148b601c16f1b0bb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>syntax_tools: erl_tidy: Do not hang when exits are trapped</title>
<updated>2017-06-22T07:16:34+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2017-06-16T08:22:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9408d05ad6789496aab395cdcaf51625b95732cc'/>
<id>9408d05ad6789496aab395cdcaf51625b95732cc</id>
<content type='text'>
See also ERL-413, https://bugs.erlang.org/browse/ERL-413.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See also ERL-413, https://bugs.erlang.org/browse/ERL-413.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove obsolete CVS keyword markup</title>
<updated>2016-11-23T19:20:49+00:00</updated>
<author>
<name>Richard Carlsson</name>
<email>richardc@klarna.com</email>
</author>
<published>2015-07-08T22:11:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1c9fa817a1c05e270cd352d7a37857449e2f3d03'/>
<id>1c9fa817a1c05e270cd352d7a37857449e2f3d03</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix infinite loop in merl_transform</title>
<updated>2016-07-09T15:21:27+00:00</updated>
<author>
<name>Péter Gömöri</name>
<email>gomoripeti@gmail.com</email>
</author>
<published>2016-07-09T15:21:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=fee45935eb7f5a098cbbbaf1c8d1a8f9a77ce418'/>
<id>fee45935eb7f5a098cbbbaf1c8d1a8f9a77ce418</id>
<content type='text'>
This can happen when a syntactically incorrect text is passed to a
merl:qquote/2,/3 call.

The parse transform optimizes calls to some functions in merl by
converting strings into templates at compile time. If this evaluation
fails (in eval_call/4 - for example because of a sytanx error in the
parsed text) the original function call should be kept unchanged.
However in case of qquote/3 the call is converted into a combination of
quote/2 and subst/2, but upon failure the original qquote/3 call is
substituted into the wrong place. E.g.:

this expression
  merl:qquote(Pos, Text, Env)

is first converted to
  merl:subst(merl:quote(Pos, Text), Env)

then if evaluating the quote call fails into
  merl:subst(merl:qquote(Pos, Text, Env), Env)

and the expansion is run again on the internal qquote/3 argument
resulting in an infinite loop.

This is now fixed so in case of failure the original qquote/3 call is kept.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This can happen when a syntactically incorrect text is passed to a
merl:qquote/2,/3 call.

The parse transform optimizes calls to some functions in merl by
converting strings into templates at compile time. If this evaluation
fails (in eval_call/4 - for example because of a sytanx error in the
parsed text) the original function call should be kept unchanged.
However in case of qquote/3 the call is converted into a combination of
quote/2 and subst/2, but upon failure the original qquote/3 call is
substituted into the wrong place. E.g.:

this expression
  merl:qquote(Pos, Text, Env)

is first converted to
  merl:subst(merl:quote(Pos, Text), Env)

then if evaluating the quote call fails into
  merl:subst(merl:qquote(Pos, Text, Env), Env)

and the expansion is run again on the internal qquote/3 argument
resulting in an infinite loop.

This is now fixed so in case of failure the original qquote/3 call is kept.
</pre>
</div>
</content>
</entry>
<entry>
<title>syntax_tools: Make erl_tidy work on input file with tilde</title>
<updated>2016-07-06T08:13:36+00:00</updated>
<author>
<name>Mark Bucciarelli</name>
<email>mkbucc@gmail.com</email>
</author>
<published>2016-05-27T01:58:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0969ecad9e2978bacb7b27f663cd16aa5ea6c460'/>
<id>0969ecad9e2978bacb7b27f663cd16aa5ea6c460</id>
<content type='text'>
See also http://bugs.erlang.org/browse/ERL-151.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See also http://bugs.erlang.org/browse/ERL-151.
</pre>
</div>
</content>
</entry>
</feed>
