|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57000 - in branches/release/boost/spirit: . home home/karma home/karma/nonterminal home/qi/nonterminal home/qi/numeric/detail home/support repository/home/qi/nonterminal
From: hartmut.kaiser_at_[hidden]
Date: 2009-10-19 13:08:46
Author: hkaiser
Date: 2009-10-19 13:08:46 EDT (Mon, 19 Oct 2009)
New Revision: 57000
URL: http://svn.boost.org/trac/boost/changeset/57000
Log:
Spirit: removed undefined behavior in grammar initialization (merging from trunk)
Properties modified:
branches/release/boost/spirit/ (props changed)
branches/release/boost/spirit/home/ (props changed)
branches/release/boost/spirit/home/karma/ (props changed)
branches/release/boost/spirit/home/qi/nonterminal/rule.hpp (props changed)
branches/release/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp (props changed)
branches/release/boost/spirit/home/support/attributes.hpp (props changed)
branches/release/boost/spirit/repository/home/qi/nonterminal/subrule.hpp (props changed)
Text files modified:
branches/release/boost/spirit/home/karma/nonterminal/grammar.hpp | 2 +-
branches/release/boost/spirit/home/qi/nonterminal/grammar.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: branches/release/boost/spirit/home/karma/nonterminal/grammar.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/nonterminal/grammar.hpp (original)
+++ branches/release/boost/spirit/home/karma/nonterminal/grammar.hpp 2009-10-19 13:08:46 EDT (Mon, 19 Oct 2009)
@@ -55,7 +55,7 @@
grammar(start_type const& start
, std::string const& name_ = "unnamed-grammar")
- : proto::extends<terminal, base_type>(terminal::make(start.alias()))
+ : proto::extends<terminal, base_type>(terminal::make(reference_(start)))
, name_(name_)
{}
Modified: branches/release/boost/spirit/home/qi/nonterminal/grammar.hpp
==============================================================================
--- branches/release/boost/spirit/home/qi/nonterminal/grammar.hpp (original)
+++ branches/release/boost/spirit/home/qi/nonterminal/grammar.hpp 2009-10-19 13:08:46 EDT (Mon, 19 Oct 2009)
@@ -51,7 +51,7 @@
grammar(
start_type const& start
, std::string const& name_ = "unnamed-grammar")
- : proto::extends<terminal, base_type>(terminal::make(start.alias()))
+ : proto::extends<terminal, base_type>(terminal::make(reference_(start)))
, name_(name_)
{}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk