<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sonota88</author_name>
  <author_url>https://blog.hatena.ne.jp/sonota88/</author_url>
  <blog_title>memo486</blog_title>
  <blog_url>https://memo88.hatenablog.com/</blog_url>
  <categories>
    <anon>vm2gol-v2</anon>
  </categories>
  <description>目次ページに戻る / 前 / 次 前回からの差分をまとめて見る 変数宣言周りの修正（パーサ編） 第48回 変数宣言のコード生成処理の改善など で変数宣言まわりを変更したときは特に考えてなかったんですが、これはパーサも合わせておいた方が良さそうに思えます。 まずは var文が書ける場所を関数の直下のみに限定する変更。 --- a/vgparser.rb +++ b/vgparser.rb @@ -185,7 +185,20 @@ class Parser consume &quot;)&quot; consume &quot;{&quot; - stmts = parse_stmts() + + stmts = [] + loop d…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F2020%2F09%2F16%2F074942&quot; title=&quot;vm2gol v2 （50） コード生成処理の変更にあわせたパーサの修正など - memo486&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>2020-09-16 07:49:42</published>
  <title>vm2gol v2 （50） コード生成処理の変更にあわせたパーサの修正など</title>
  <type>rich</type>
  <url>https://memo88.hatenablog.com/entry/2020/09/16/074942</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
