mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 23:08:40 +02:00
Avoid spurious parse error if there's trailing space after the end of an expression.
This commit is contained in:
@@ -2761,6 +2761,9 @@ expr_node *parse_expression(char const **e, int *r, Var *locals)
|
||||
}
|
||||
orig = o2;
|
||||
}
|
||||
while (**e && isempty(**e)) {
|
||||
(*e)++;
|
||||
}
|
||||
if (**e && (**e != ']')) {
|
||||
if (DebugFlag & DB_PARSE_EXPR) {
|
||||
fprintf(ErrFp, " Unparsed: %s\n", *e);
|
||||
|
||||
Reference in New Issue
Block a user