1: // Author: Jeffrey Bakker  |  Date: May14th 2002  |  langc.cpp
     2: 
     3: // the C Language definition file for Web C Plus Plus
     4: // Webcpp Copyright (C) 2002 Jeffrey Bakker
     5: 
     6: #include "langc.h" 
     7: 
     8: LangC::LangC() {
     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 LangC::fill() {
    21: 
    22: 	string K[] = {
    23: 		"break","case","const","continue","default","do",
    24: 		"else","enum","extern","for","if","return","sizeof",
    25: 		"struct","switch","typedef","union","while"
    26: 	};
    27: 	for(int k=0;k < 18;k++) {keys.push_back(K[k]);}
    28: 
    29: 	string T[] = {
    30: 		"auto","char","double","float","int","long","register","short",
    31: 		"signed","static","unsigned","void","volatile"
    32: 	};
    33: 	for(int t=0;t < 13;t++) {types.push_back(T[t]);}
    34: }
    35: 



w e b c p p
web c plus plus