diff --git a/configure.in b/configure.in index a99b6517..05bba527 100644 --- a/configure.in +++ b/configure.in @@ -45,6 +45,6 @@ if test "$GCC" = yes; then fi AC_CHECK_FUNCS(setenv unsetenv glob) -VERSION=03.01.05 +VERSION=03.01.06 AC_SUBST(VERSION) AC_OUTPUT(src/Makefile www/Makefile src/version.h) diff --git a/man/remind.1 b/man/remind.1 index a1242143..d329e385 100644 --- a/man/remind.1 +++ b/man/remind.1 @@ -2644,8 +2644,16 @@ exceptions: .TP o If \fBRemind\fR is expecting an expression, as in the \fBSET\fR command, -or the \fBIF\fR command, then no expression pasting takes place. The -expression is simply evaluated as if the square brackets were not there. +or the \fBIF\fR command, you should \fBnot\fR include square brackets. +FOr example, use: +.PP +.nf + SET a 4+5 +.fi +and not: +.nf + SET a [4+5] +.fi .TP o You cannot use expression pasting for the first token on a line. diff --git a/src/var.c b/src/var.c index f2c6e3a4..e889f510 100644 --- a/src/var.c +++ b/src/var.c @@ -223,7 +223,7 @@ int DoSet (Parser *p) r = ParseIdentifier(p, &buf); if (r) return r; - /* Allow option equals-sign: SET var = value */ + /* Allow optional equals-sign: SET var = value */ if (ParseNonSpaceChar(p, &r, 1) == '=') { ParseNonSpaceChar(p, &r, 0); }