Var can now be used in sections and functions, but only with the /GLOBAL flag

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4211 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-08-06 16:04:17 +00:00
parent f5105a50b1
commit 68dc7f9f7e
4 changed files with 36 additions and 7 deletions

View file

@ -258,7 +258,7 @@ static tokenType tokenlist[TOK__LAST] =
// Added by ramon 23 May 2003
{TOK_ALLOWSKIPFILES,"AllowSkipFiles",1,0,"(off|on)",TP_ALL},
// Added by ramon 3 jun 2003
{TOK_DEFVAR,"Var",1,0,"VarName",TP_GLOBAL},
{TOK_DEFVAR,"Var",1,1,"[/GLOBAL] var_name",TP_ALL},
// Added by ramon 6 jun 2003
{TOK_VI_ADDKEY,"VIAddVersionKey",2,1,"/LANG=lang_id keyname value",TP_GLOBAL},
{TOK_VI_SETPRODUCTVERSION,"VIProductVersion",1,0,"[version_string_X.X.X.X]",TP_GLOBAL},