Subject: [Boost-bugs] [Boost C++ Libraries] #1764: wrong AST when parser_tag==0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-03 19:11:42
#1764: wrong AST when parser_tag==0
---------------------------------------+------------------------------------
Reporter: ka3a4ok <bismuth_at_[hidden]> | Owner: djowel
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: spirit
Version: Boost 1.35.0 | Severity: Problem
Keywords: parser_tag ruleID |
---------------------------------------+------------------------------------
Simple way to reproduce bug:
1. Change 1 to 0(zero) in line 43 of file
\spirit\example\fundamental\tree_calc_grammar.hpp
static const int integerID = '''1'''; => static const int integerID =
'''0''';
2. Build and run \spirit\example\fundamental\ast_calc.cpp example.
3. Enter some expression. For example, 2+3.
There will be assert in line 68 of file ast_calc.cpp.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1764>
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:49:57 UTC