1: // Author: Jeffrey Bakker  |  Date: May14th 2002  |  langpython.cpp
     2: 
     3: // the Python Language definition file for Web C Plus Plus
     4: // Webcpp Copyright (C) 2002 Jeffrey Bakker
     5: 
     6: #include "langpython.h" 
     7: 
     8: LangPython::LangPython() {
     9: 	
    10: 	fill();
    11: 	init_switches();
    12: 
    13: 	doSymbols  = Yes;
    14: 	doUnxComnt = Yes;
    15: }
    16: 
    17: void LangPython::fill() {
    18: 
    19: 	string K[] = {
    20: 	"and","assert","break","class","continue","def","del","elif","else","except",
    21: 	"exec","finally","for","from","global","if","import","input","in","is",
    22: 	"lambda","not","or","pass","print","raise","range","return","try","while"
    23: 	};
    24: 	for(int k=0;k < 30;k++) {keys.push_back(K[k]);}
    25: }
    26: 



w e b c p p
web c plus plus