Revision: 8412 https://osdn.net/projects/ttssh2/scm/svn/commits/8412 Author: zmatsuo Date: 2019-11-27 23:01:26 +0900 (Wed, 27 Nov 2019) Log Message: ----------- 文字列が ' か " で終了していないとき、その行でエラーが出るようにした - [Ttssh2-devel 4372] - 修正前は他の行でエラーが発生していた Modified Paths: -------------- trunk/teraterm/ttpmacro/ttmparse.c -------------- next part -------------- Modified: trunk/teraterm/ttpmacro/ttmparse.c =================================================================== --- trunk/teraterm/ttpmacro/ttmparse.c 2019-11-27 14:01:17 UTC (rev 8411) +++ trunk/teraterm/ttpmacro/ttmparse.c 2019-11-27 14:01:26 UTC (rev 8412) @@ -740,8 +740,10 @@ LinePtr++; if (LinePtr<LineLen) b = LineBuff[LinePtr]; } - if (b==q) - if (LinePtr<LineLen) LinePtr++; + if (b==q) { + if (LinePtr<LineLen) + LinePtr++; + } else return (ErrSyntax);