mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Include ')' in non-illegal char set.
This commit is contained in:
@@ -2230,7 +2230,7 @@ static int set_constant_value(expr_node *atom)
|
||||
}
|
||||
|
||||
atom->u.value.type = ERR_TYPE;
|
||||
if (strchr("+-*/%&|=<>!", *s) != NULL) {
|
||||
if (strchr("+-*/%&|=<>!)", *s) != NULL) {
|
||||
r = E_EXPECTING_ATOM;
|
||||
} else {
|
||||
r = E_ILLEGAL_CHAR;
|
||||
@@ -2352,7 +2352,7 @@ static expr_node *parse_atom(char const **e, int *r, Var *locals, int level)
|
||||
*s != '$' &&
|
||||
*s != '"' &&
|
||||
*s != '\'') {
|
||||
if (strchr("+-*/%&|=<>!", *s) != NULL) {
|
||||
if (strchr("+-*/%&|=<>!)", *s) != NULL) {
|
||||
*r = E_EXPECTING_ATOM;
|
||||
Eprint("%s", GetErr(*r));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user