cvs: pecl /preprocessor Preprocessor.vcproj php_preprocessor.h preprocessor.cpp preprocessor.h
| From: | Steph Fox | Date: | Mon, 07 Apr 2008 19:56:52 +0000 |
| Subject: | cvs: pecl /preprocessor Preprocessor.vcproj php_preprocessor.h preprocessor.cpp preprocessor.h | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10311@lists.php.net to get a copy of this message | ||
sfox Mon Apr 7 19:56:52 2008 UTC
Added files:
/pecl/preprocessor php_preprocessor.h
Removed files:
/pecl/preprocessor preprocessor.h
Modified files:
/pecl/preprocessor Preprocessor.vcproj preprocessor.cpp
Log:
- Renamed preprocessor.h to php_preprocessor.h
http://cvs.php.net/viewvc.cgi/pecl/preprocessor/Preprocessor.vcproj?r1=1.1&r2=1.2&diff_format=u
Index: pecl/preprocessor/Preprocessor.vcproj
diff -u pecl/preprocessor/Preprocessor.vcproj:1.1 pecl/preprocessor/Preprocessor.vcproj:1.2
--- pecl/preprocessor/Preprocessor.vcproj:1.1 Wed Aug 23 17:57:46 2006
+++ pecl/preprocessor/Preprocessor.vcproj Mon Apr 7 19:56:52 2008
@@ -282,7 +282,7 @@
</FileConfiguration>
</File>
<File
- RelativePath=".\preprocessor.h">
+ RelativePath=".\php_preprocessor.h">
<FileConfiguration
Name="Debug-CLI|Win32"
ExcludedFromBuild="TRUE">
http://cvs.php.net/viewvc.cgi/pecl/preprocessor/preprocessor.cpp?r1=1.1&r2=1.2&diff_format=u
Index: pecl/preprocessor/preprocessor.cpp
diff -u pecl/preprocessor/preprocessor.cpp:1.1 pecl/preprocessor/preprocessor.cpp:1.2
--- pecl/preprocessor/preprocessor.cpp:1.1 Wed Aug 23 17:57:46 2006
+++ pecl/preprocessor/preprocessor.cpp Mon Apr 7 19:56:52 2008
@@ -1,4 +1,4 @@
-#include "preprocessor.h"
+#include "php_preprocessor.h"
////////////////////////////////////////////////////////////////////////////
// import required names
using namespace boost::spirit;
http://cvs.php.net/viewvc.cgi/pecl/preprocessor/php_preprocessor.h?view=markup&rev=1.1
Index: pecl/preprocessor/php_preprocessor.h
+++ pecl/preprocessor/php_preprocessor.h
#ifndef __PREPROCESSOR_H_INCLUDED__
#define __PREPROCESSOR_H_INCLUDED__
#include "php.hpp" // global configuration
#define PHP_PREPROCESSOR_VERSION "0.1.0-dev"
#include <boost/assert.hpp>
#include <boost/program_options.hpp>
#include <boost/filesystem/path.hpp>
///////////////////////////////////////////////////////////////////////////////
// Include Wave itself
#include <boost/wave.hpp>
///////////////////////////////////////////////////////////////////////////////
// Include the lexer related stuff
#include <boost/wave/cpplexer/cpp_lex_token.hpp> // token type
#include "lexer/php_lex_iterator.hpp" // lexer type
///////////////////////////////////////////////////////////////////////////////
// include lexer specifics, import lexer names
//
#if BOOST_WAVE_SEPARATE_LEXER_INSTANTIATION == 0
#include "lexer/php_re2c_lexer.hpp"
#endif
///////////////////////////////////////////////////////////////////////////////
// include the grammar definitions, if these shouldn't be compiled separately
// (ATTENTION: _very_ large compilation times!)
//
#if BOOST_WAVE_SEPARATE_GRAMMAR_INSTANTIATION == 0
#include <boost/wave/grammars/cpp_intlit_grammar.hpp>
#include <boost/wave/grammars/cpp_chlit_grammar.hpp>
#include <boost/wave/grammars/cpp_grammar.hpp>
#include <boost/wave/grammars/cpp_expression_grammar.hpp>
#include <boost/wave/grammars/cpp_predef_macros_grammar.hpp>
#include <boost/wave/grammars/cpp_defined_grammar.hpp>
#endif
extern "C"
{
#include <main/php.h>
#include <ext/standard/info.h>
#include <main/php_globals.h>
};
bool html_mode;
/* All the functions that will be exported (available) must be declared */
ZEND_FUNCTION(preprocess);
ZEND_FUNCTION(preprocess_line);
#ifdef PHP_STREAM_APPLY_FILTER
PHP_MINIT_FUNCTION(preprocessor_mod);
#endif
PHP_MINFO_FUNCTION(preprocessor_mod);
#ifdef PHP_STREAM_APPLY_FILTER
PHP_MSHUTDOWN_FUNCTION(preprocessor_mod);
#endif
/* function list so that the Zend engine will know what's here */
zend_function_entry preprocessor_functions[] = {
ZEND_FE( preprocess, NULL )
ZEND_FE( preprocess_line, NULL )
{NULL, NULL, NULL} };
/* module information */
zend_module_entry preprocessor_mod_module_entry =
{ STANDARD_MODULE_HEADER
, "PHP Preprocessor"
, preprocessor_functions
#ifdef PHP_STREAM_APPLY_FILTER
, PHP_MINIT( preprocessor_mod )
, PHP_MSHUTDOWN( preprocessor_mod )
#else
, NULL
, NULL
#endif
, NULL
, NULL
, PHP_MINFO(preprocessor_mod)
, PHP_PREPROCESSOR_VERSION
, STANDARD_MODULE_PROPERTIES };
#if COMPILE_DL_PREPROCESSOR_MOD
ZEND_GET_MODULE(preprocessor_mod)
#endif
PHP_MINFO_FUNCTION(preprocessor_mod)
{
php_info_print_table_start();
php_info_print_table_header( 2, "PHP Preprocessor", "Enabled" );
php_info_print_table_row( 2, "Version", PHP_PREPROCESSOR_VERSION);
#ifdef PHP_STREAM_APPLY_FILTER
php_info_print_table_row( 2, "Preprocessor Filter", "Enabled" );
#else
php_info_print_table_row( 2, "Preprocessor Filter", "Disabled" );
#endif
php_info_print_table_end();
}
#endif