<p>The SQLite, YAML & JSON parsers (trivially) didn't track table comments. I've added that.</p>
<p>The YAML and JSON producers should have output comments as arrays; for table and field comments, they could croak or generate incorrect output if there was an even number of comments. For procedures, the comments were output as a concatenated string instead of an array.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/dbsrgits/sql-translator/pull/65'>https://github.com/dbsrgits/sql-translator/pull/65</a></p>
<h4>Commit Summary</h4>
<ul>
<li>add table comment parsing to sqlite parser</li>
<li>JSON & YAML parsers now track table comments</li>
<li>bugfix: JSON and YAML producers called comments method in wrong context</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/dbsrgits/sql-translator/pull/65/files#diff-0">lib/SQL/Translator/Parser/JSON.pm</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/dbsrgits/sql-translator/pull/65/files#diff-1">lib/SQL/Translator/Parser/SQLite.pm</a>
(15)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/dbsrgits/sql-translator/pull/65/files#diff-2">lib/SQL/Translator/Parser/YAML.pm</a>
(3)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/dbsrgits/sql-translator/pull/65/files#diff-3">lib/SQL/Translator/Producer/JSON.pm</a>
(10)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/dbsrgits/sql-translator/pull/65/files#diff-4">lib/SQL/Translator/Producer/YAML.pm</a>
(10)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/dbsrgits/sql-translator/pull/65/files#diff-5">t/23json.t</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/dbsrgits/sql-translator/pull/65/files#diff-6">t/24yaml.t</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/dbsrgits/sql-translator/pull/65/files#diff-7">t/27sqlite-parser.t</a>
(8)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/dbsrgits/sql-translator/pull/65/files#diff-8">t/data/sqlite/create.sql</a>
(3)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/dbsrgits/sql-translator/pull/65.patch'>https://github.com/dbsrgits/sql-translator/pull/65.patch</a></li>
<li><a href='https://github.com/dbsrgits/sql-translator/pull/65.diff'>https://github.com/dbsrgits/sql-translator/pull/65.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/dbsrgits/sql-translator/pull/65">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeAoalvrHyNfqmFuhNsK9C_oqtoC7Bks5okTPPgaJpZM4FlriT.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/dbsrgits/sql-translator/pull/65"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>