update porting to new machine
[wikipedia-parser-hphp.git] / gen / php / Preprocessor.cpp
bloba360a31599ca0bc6241f70121fa66d4cf37e945e
2 #include <php/Preprocessor.h>
3 #include <cpp/ext/ext.h>
5 namespace HPHP {
6 ///////////////////////////////////////////////////////////////////////////////
8 /* preface starts */
9 /* preface finishes */
10 Variant pm_php$Preprocessor_php(bool incOnce /* = false */, LVariableTable* variables /* = NULL */) {
11 FUNCTION_INJECTION(run_init::Preprocessor.php);
13 DECLARE_GLOBAL_VARIABLES(g);
14 bool &alreadyRun = g->run_pm_php$Preprocessor_php;
15 if (alreadyRun) { if (incOnce) return true;}
16 else alreadyRun = true;
17 if (!variables) variables = g;
19 DECLARE_GLOBAL_VARIABLES(g);
20 LVariableTable *gVariables __attribute__((__unused__)) = get_variable_table();
21 return true;
22 } /* function */
24 ///////////////////////////////////////////////////////////////////////////////