[Boost-bugs] [Boost C++ Libraries] #3087: calc_with_variables shouldn't allow vari instead of var i

Subject: [Boost-bugs] [Boost C++ Libraries] #3087: calc_with_variables shouldn't allow vari instead of var i
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-05-26 12:18:12


#3087: calc_with_variables shouldn't allow vari instead of var i
----------------------------------+-----------------------------------------
 Reporter: olafvdspek_at_[hidden] | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: None
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------
 I think the example should show how to disallow vari instead of var i.

 boost_1_39_0\libs\spirit\classic\example\fundamental\more_calculators\calc_with_variables.cpp:

 vari
 -------------------------
 Parsing succeeded
 -------------------------
 vari
 Warning. You are attempting to re-declare a var.
 -------------------------
 Parsing failed
 stopped at: ": vari"
 -------------------------
 i = 5
 push 5
 assigning
 -------------------------
 Parsing succeeded
 -------------------------

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3087>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC