1: // Author: Jeffrey Bakker  |  Date: May14th 2002  |  langcpp.cpp
     2: 
     3: // the C++ Language definition file for Web C Plus Plus
     4: // Webcpp Copyright (C) 2002 Jeffrey Bakker
     5: 
     6: #include "langcpp.h" 
     7: 
     8: LangCPlusPlus::LangCPlusPlus() {
     9: 
    10: 	fill();
    11: 	init_switches();
    12: 
    13: 	doSymbols   = Yes;
    14: 	doLabels    = Yes;
    15: 	doPreProc   = Yes;
    16: 	doBigComnt  = Yes;
    17: 	doCinComnt  = Yes;
    18: }
    19: 
    20: void LangCPlusPlus::fill() {
    21: 
    22: 	string K[] = {
    23: 		"asm","catch","class","const_cast","delete","dynamic_cast",
    24: 		"explicit","false","friend","inline","namespace","new",
    25: 		"operator","private","protected","public","reinterpret_cast",
    26: 		"static_cast","template","this","throw","true","try","typeid",
    27: 		"typename","using","virtual","wchar_t"
    28: 	};
    29: 	for(int k=0;k < 28;k++) {keys.push_back(K[k]);}
    30: 
    31: 	string T[] = {
    32: 		"bool","mutable"
    33: 	};
    34: 	for(int t=0;t < 2;t++) {types.push_back(T[t]);}
    35: }
    36: 



w e b c p p
web c plus plus