Stamped on more C++ style comments in C compatible code.

[SVN r25472]
This commit is contained in:
John Maddock
2004-09-29 10:22:04 +00:00
parent 50dccbe6e0
commit ad21d2cb2f
3 changed files with 18 additions and 18 deletions

View File

@ -30,7 +30,7 @@
#include <boost/regex/v4/cregex.hpp>
#endif
#endif // include guard
#endif /* include guard */

View File

@ -21,10 +21,10 @@
#include <boost/cregex.hpp>
//
// add using declarations to bring POSIX API functions into
// global scope, only if this is C++ (and not C).
//
/*
* add using declarations to bring POSIX API functions into
* global scope, only if this is C++ (and not C).
*/
#ifdef __cplusplus
using boost::regoff_t;
@ -91,9 +91,9 @@ using boost::REG_E_MEMORY;
using boost::REG_E_UNKNOWN;
using boost::reg_errcode_t;
#endif // __cplusplus
#endif /* __cplusplus */
#endif // BOOST_RE_REGEX_H
#endif /* BOOST_RE_REGEX_H */

View File

@ -267,7 +267,7 @@ namespace boost{ typedef wchar_t regex_wchar_type; }
*
****************************************************************************/
// backwards compatibility:
/* backwards compatibility: */
#ifdef BOOST_RE_LOCALE_C
# define BOOST_REGEX_USE_C_LOCALE
#endif
@ -276,11 +276,11 @@ namespace boost{ typedef wchar_t regex_wchar_type; }
# define BOOST_REGEX_USE_CPP_LOCALE
#endif
// Win32 defaults to native Win32 locale:
/* Win32 defaults to native Win32 locale: */
#if defined(_WIN32) && !defined(BOOST_REGEX_USE_WIN32_LOCALE) && !defined(BOOST_REGEX_USE_C_LOCALE) && !defined(BOOST_REGEX_USE_CPP_LOCALE) && !defined(BOOST_REGEX_NO_W32)
# define BOOST_REGEX_USE_WIN32_LOCALE
#endif
// otherwise use C locale:
/* otherwise use C locale: */
#if !defined(BOOST_REGEX_USE_WIN32_LOCALE) && !defined(BOOST_REGEX_USE_C_LOCALE) && !defined(BOOST_REGEX_USE_CPP_LOCALE)
# define BOOST_REGEX_USE_C_LOCALE
#endif
@ -311,10 +311,10 @@ namespace boost{ typedef wchar_t regex_wchar_type; }
****************************************************************************/
#ifdef BOOST_NO_EXCEPTIONS
//
// If there are no exceptions then we must report critical-errors
// the only way we know how; by terminating.
//
/*
* If there are no exceptions then we must report critical-errors
* the only way we know how; by terminating.
*/
# define BOOST_REGEX_NOEH_ASSERT(x)\
if(0 == (x))\
{\
@ -324,10 +324,10 @@ if(0 == (x))\
boost::throw_exception(e);\
}
#else
//
// With exceptions then error handling is taken care of and
// there is no need for these checks:
//
/*
* With exceptions then error handling is taken care of and
* there is no need for these checks:
*/
# define BOOST_REGEX_NOEH_ASSERT(x)
#endif