svnno****@sourc*****
svnno****@sourc*****
2011年 9月 15日 (木) 01:48:23 JST
Revision: 4635 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4635 Author: doda Date: 2011-09-15 01:48:23 +0900 (Thu, 15 Sep 2011) Log Message: ----------- var が配列として宣言されていない時に、var[index] への代入がエラーになるように修正。 Modified Paths: -------------- trunk/teraterm/ttpmacro/ttl.c -------------- next part -------------- Modified: trunk/teraterm/ttpmacro/ttl.c =================================================================== --- trunk/teraterm/ttpmacro/ttl.c 2011-09-14 15:17:10 UTC (rev 4634) +++ trunk/teraterm/ttpmacro/ttl.c 2011-09-14 16:48:23 UTC (rev 4635) @@ -5145,6 +5145,9 @@ Err = ErrTypeMismatch; } } + else if (WithIndex) { + Err = ErrSyntax; + } else { switch (ValType) { case TypInteger: E = NewIntVar(Cmnd,Val); break;