Removed SetLanguage (back to $LANGUAGE)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@778 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-08-28 16:59:20 +00:00
parent 806f0afb91
commit 79df7a5bf4
4 changed files with 0 additions and 9 deletions

View file

@ -121,8 +121,6 @@ enum
EW_CREATEFONT, // CreateFont: 5: [handle output, face name, height, weight, flags]
EW_SETLANG, // SetLanguage: 1: [language]
// instructions not actually implemented in exehead, but used in compiler.
EW_GETLABELADDR, // both of these get converted to EW_ASSIGNVAR
EW_GETFUNCTIONADDR,

View file

@ -3401,11 +3401,6 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char
}
SCRIPT_MSG("\n");
return add_entry(&ent);
case TOK_SETLANG:
ent.which=EW_SETLANG;
ent.offsets[0]=add_string(line.gettoken_str(1));
SCRIPT_MSG("SetLanguage: language=%s\n", line.gettoken_str(1));
return add_entry(&ent);
// end of instructions
///////////////////////////////////////////////////////////////////////////////

View file

@ -135,7 +135,6 @@ static tokenType tokenlist[TOK__LAST] =
{TOK_SETERRORS,"SetErrors",0,0,""},
{TOK_SETFILEATTRIBUTES,"SetFileAttributes",2,0,"file attribute[|attribute[...]]\n attribute=(NORMAL|ARCHIVE|HIDDEN|OFFLINE|READONLY|SYSTEM|TEMPORARY|0)"},
{TOK_SETFONT,"SetFont",2,0,"font_face_name font_size"},
{TOK_SETLANG,"SetLanguage",1,0,"language_id"},
{TOK_SETOUTPATH,"SetOutPath",1,0,"output_path"},
{TOK_SETOVERWRITE,"SetOverwrite",1,0,"(on|off|try|ifnewer)"},
{TOK_SETREBOOTFLAG,"SetRebootFlag",1,0,"true|false"},

View file

@ -189,7 +189,6 @@ enum
TOK_SETSHELLVARCONTEXT,
TOK_PLUGINDIR,
TOK_CREATEFONT,
TOK_SETLANG,
TOK__LAST,
TOK__PLUGINCOMMAND