1: // Author: Jeffrey Bakker  |  Date: January 29th 2003  |  languscript.cpp

     2: 
     3: // the UnrealScript Language definition file for Web C Plus Plus

     4: // Webcpp Copyright (C) 2003 Jeffrey Bakker

     5: 
     6: #include "languscript.h"
 
     7: 
     8: LangUScript::LangUScript() {
     9: 
    10: 	fill();
    11: 	init_switches();
    12: 
    13: 	doCaseKeys  = No;
    14: 	doSymbols   = Yes;
    15: 	doLabels    = Yes;
    16: 	doBigComnt  = Yes;
    17: 	doCinComnt  = Yes;
    18: }
    19: 
    20: void LangUScript::fill() {
    21: 
    22: 	string K[] = {
    23: "abstract","class","event","expands","extends","foreach","function","global",
    24: "local","None","Self","state","Super","until","var"
    25: 	};
    26: 	for(int k=0;k < 15;k++) {keys.push_back(K[k]);}
    27: 
    28: 	string T[] = {
    29: "Vector","Plane","Rotation","Coords","Color","Region","Texture",
    30: "actor","bool","byte","name","string",
    31: "config","native","private","transient"
    32: 	};
    33: 	for(int t=0;t < 16;t++) {types.push_back(T[t]);}
    34: }
    35: 



w e b c p p
web c plus plus