<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>quasistatic</author_name>
  <author_url>https://blog.hatena.ne.jp/quasistatic/</author_url>
  <blog_title>借りてきた猫のように静か</blog_title>
  <blog_url>https://quasistatic.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C</anon>
  </categories>
  <description>エラー回復時に機械的にシンボルが捨てられることによってメモリリークが発生していた。 Bison宣言には%destructor宣言がありエラー回復時のこの動作が行われる時に、 シンボルを1個破棄するごとに自動実行されるコードを指定できる。 --- calc.y # +++ # # @@ -14,6 +14,7 @@ %left '+' %left '*' %type &lt;val&gt; expr +%destructor { CHECK_MPZ(&quot;error_recovery_clear&quot;, $$); mpz_clear($$); } &lt;val&gt; %% stmt: /* empty */$ ./calc…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fquasistatic.hatenadiary.jp%2Fentry%2F20110721%2Fp1&quot; title=&quot; 数式の評価を便利な道具で #4 - 借りてきた猫のように静か&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-07-21 00:00:00</published>
  <title> 数式の評価を便利な道具で #4</title>
  <type>rich</type>
  <url>https://quasistatic.hatenadiary.jp/entry/20110721/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
