add boost on mac
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) 2001-2011 Hartmut Kaiser
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#if !defined(BOOST_SPIRIT_REPOSITORY_SUPPORT_CONFIX_APR_28_2009_0110PM)
|
||||
#define BOOST_SPIRIT_REPOSITORY_SUPPORT_CONFIX_APR_28_2009_0110PM
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <boost/spirit/home/support/terminal.hpp>
|
||||
|
||||
namespace boost { namespace spirit { namespace repository
|
||||
{
|
||||
// The confix extended terminal
|
||||
BOOST_SPIRIT_DEFINE_TERMINALS_NAME_EX(( confix, confix_type ))
|
||||
|
||||
}}}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) 2001-2011 Hartmut Kaiser
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#if !defined(BOOST_SPIRIT_REPOSITORY_SUPPORT_DISTINCT_APR_28_2009_0110PM)
|
||||
#define BOOST_SPIRIT_REPOSITORY_SUPPORT_DISTINCT_APR_28_2009_0110PM
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <boost/spirit/home/support/terminal.hpp>
|
||||
|
||||
namespace boost { namespace spirit { namespace repository
|
||||
{
|
||||
// The distinct extended terminal
|
||||
BOOST_SPIRIT_DEFINE_TERMINALS_NAME_EX(( distinct, distinct_type ))
|
||||
|
||||
}}}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) 2001-2011 Hartmut Kaiser
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#if !defined(BOOST_SPIRIT_REPOSITORY_SUPPORT_FLUSH_MULTI_PASS_JUL_11_2009_0823PM)
|
||||
#define BOOST_SPIRIT_REPOSITORY_SUPPORT_FLUSH_MULTI_PASS_JUL_11_2009_0823PM
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <boost/spirit/home/support/terminal.hpp>
|
||||
|
||||
namespace boost { namespace spirit { namespace repository
|
||||
{
|
||||
// The flush_multi_pass extended terminal
|
||||
BOOST_SPIRIT_TERMINAL( flush_multi_pass )
|
||||
|
||||
}}}
|
||||
|
||||
#endif
|
||||
22
macx64/include/boost/spirit/repository/home/support/kwd.hpp
Normal file
22
macx64/include/boost/spirit/repository/home/support/kwd.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) 2001-2011 Thomas Bernard
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#if !defined(BOOST_SPIRIT_REPOSITORY_SUPPORT_KWD_OCT_20_2010_0110PM)
|
||||
#define BOOST_SPIRIT_REPOSITORY_SUPPORT_KWD_OCT_20_2010_0110PM
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <boost/spirit/home/support/terminal.hpp>
|
||||
|
||||
namespace boost { namespace spirit { namespace repository
|
||||
{
|
||||
// The distinct extended terminal
|
||||
BOOST_SPIRIT_DEFINE_TERMINALS_NAME_EX(( kwd, kwd_type )( ikwd, ikwd_type )(dkwd, dkwd_type)(idkwd, idkwd_type) )
|
||||
|
||||
}}}
|
||||
|
||||
#endif
|
||||
25
macx64/include/boost/spirit/repository/home/support/seek.hpp
Normal file
25
macx64/include/boost/spirit/repository/home/support/seek.hpp
Normal file
@@ -0,0 +1,25 @@
|
||||
/*=============================================================================
|
||||
Copyright (c) 2011 Jamboree
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
=============================================================================*/
|
||||
#ifndef BOOST_SPIRIT_REPOSITORY_SUPPORT_SEEK
|
||||
#define BOOST_SPIRIT_REPOSITORY_SUPPORT_SEEK
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
|
||||
#include <boost/spirit/home/support/terminal.hpp>
|
||||
|
||||
|
||||
namespace boost { namespace spirit { namespace repository
|
||||
{
|
||||
// The seek terminal
|
||||
BOOST_SPIRIT_DEFINE_TERMINALS_NAME(( seek, seek_type ))
|
||||
|
||||
}}}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,57 @@
|
||||
/*=============================================================================
|
||||
Copyright (c) 2009 Francois Barel
|
||||
Copyright (c) 2001-2010 Joel de Guzman
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
==============================================================================*/
|
||||
#if !defined(BOOST_SPIRIT_REPOSITORY_SUPPORT_SUBRULE_CONTEXT_AUGUST_12_2009_0539PM)
|
||||
#define BOOST_SPIRIT_REPOSITORY_SUPPORT_SUBRULE_CONTEXT_AUGUST_12_2009_0539PM
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <boost/spirit/home/support/context.hpp>
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
namespace boost { namespace spirit { namespace repository
|
||||
{
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// subrule_context: special context used with subrules, to pass around
|
||||
// the current set of subrule definitions (subrule_group)
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
template <typename Group, typename Attributes, typename Locals>
|
||||
struct subrule_context
|
||||
: context<Attributes, Locals>
|
||||
{
|
||||
typedef context<Attributes, Locals> base_type;
|
||||
typedef Group group_type;
|
||||
|
||||
subrule_context(
|
||||
Group const& group
|
||||
, typename Attributes::car_type attribute
|
||||
) : base_type(attribute), group(group)
|
||||
{
|
||||
}
|
||||
|
||||
template <typename Args, typename Context>
|
||||
subrule_context(
|
||||
Group const& group
|
||||
, typename Attributes::car_type attribute
|
||||
, Args const& args
|
||||
, Context& caller_context
|
||||
) : base_type(attribute, args, caller_context), group(group)
|
||||
{
|
||||
}
|
||||
|
||||
subrule_context(Group const& group, Attributes const& attributes)
|
||||
: base_type(attributes), group(group)
|
||||
{
|
||||
}
|
||||
|
||||
Group const& group;
|
||||
};
|
||||
}}}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user