Boost C++ Libraries: Ticket #3087: calc_with_variables shouldn't allow vari instead of var i https://svn.boost.org/trac10/ticket/3087 <p> I think the example should show how to disallow vari instead of var i. </p> <p> boost_1_39_0\libs\spirit\classic\example\fundamental\more_calculators\calc_with_variables.cpp: </p> <p> vari </p> <hr /> <p> Parsing succeeded </p> <hr /> <p> vari Warning. You are attempting to re-declare a var. </p> <hr /> <p> Parsing failed stopped at: ": vari" </p> <hr /> <p> i = 5 push 5 assigning </p> <hr /> <p> Parsing succeeded </p> <hr /> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3087 Trac 1.4.3 anonymous Tue, 26 May 2009 13:12:29 GMT component, severity changed; owner set https://svn.boost.org/trac10/ticket/3087#comment:1 https://svn.boost.org/trac10/ticket/3087#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Joel de Guzman</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">spirit</span> </li> <li><strong>severity</strong> <span class="trac-field-old">Problem</span> → <span class="trac-field-new">Cosmetic</span> </li> </ul> Ticket Joel de Guzman Sun, 31 May 2009 00:58:03 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3087#comment:2 https://svn.boost.org/trac10/ticket/3087#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed. This may not be the best example for such, but it will do. Anyway, Spirit2 has better examples for this. </p> Ticket