else if (XP_STRCASECMP(str, "JavaScript1.4") == 0) { *type = SCRIPT_TYPE_MOCHA; *version = JSVERSION_1_4; }
lo_ParseScriptLanguage(MWContext * context, PA_Tag * tag, int8 * type,		       JSVersion * version){    PA_Block buff;    char * str;    buff = lo_FetchParamValue(context, tag, PARAM_LANGUAGE);    if (buff != NULL) {        PA_LOCK(str, char *, buff);        if ((XP_STRCASECMP(str, js_language_name) == 0) ||            (XP_STRCASECMP(str, "LiveScript") == 0) ||            (XP_STRCASECMP(str, "Mocha") == 0)) {            *type = SCRIPT_TYPE_MOCHA;            *version = JSVERSION_DEFAULT;        }         else if (XP_STRCASECMP(str, "JavaScript1.1") == 0) {            *type = SCRIPT_TYPE_MOCHA;            *version = JSVERSION_1_1;        }         else if (XP_STRCASECMP(str, "JavaScript1.2") == 0) {            *type = SCRIPT_TYPE_MOCHA;            *version = JSVERSION_1_2;        }         else if (XP_STRCASECMP(str, "JavaScript1.3") == 0) {            *type = SCRIPT_TYPE_MOCHA;            *version = JSVERSION_1_3;        }         else {            *type = SCRIPT_TYPE_UNKNOWN;        }        PA_FREE(buff);    }}