1: // Author: Jeffrey Bakker  |  Date: May14th 2002  |  langphp.cpp
     2: 
     3: // the PHP Language definition file for Web C Plus Plus
     4: // Webcpp Copyright (C) 2002 Jeffrey Bakker
     5: 
     6: #include "langphp.h" 
     7: 
     8: LangPhp::LangPhp()  {
     9: 	
    10: 	fill();
    11: 	init_switches();
    12: 
    13: 	doSymbols  = Yes;
    14: 	doScalars  = Yes;
    15: 	doBigComnt = Yes;
    16: 	doCinComnt = Yes;
    17: 	doUnxComnt = Yes;
    18: }
    19: 
    20: void LangPhp::fill(){
    21: 
    22: 	// PHP keywords
    23: 	string K[] = {
    24: 	"and","array","break","case","class","continue","date","declare","die",
    25: 	"double","do","if","elseif","else","empty","endif","endfor","endforeach",
    26: 	"endswitch","endwhile","echo","exit","extends","false","fclose","fgets",
    27: 	"fopen","foreach","for","fputs","function","global","header","include",
    28: 	"int","list","new","NULL","object","print","require","return","static",
    29: 	"string","switch","this","ticks","true","unset","var","while"
    30: 	};
    31: 	for(int k=0;k < 51;k++) {keys.push_back(K[k]);}
    32: }
    33: 



w e b c p p
web c plus plus