mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Don't print closing ] in error indicator.
All checks were successful
Remind unit tests / tests (push) Successful in 31s
All checks were successful
Remind unit tests / tests (push) Successful in 31s
This commit is contained in:
@@ -2522,6 +2522,8 @@ expr_node *parse_expression(char const **e, int *r, Var *locals)
|
||||
if (*orig == '\n') {
|
||||
fprintf(ErrFp, " ");
|
||||
orig++;
|
||||
} else if (*orig == ']' && ! *(orig+1)) {
|
||||
break;
|
||||
} else {
|
||||
fprintf(ErrFp, "%c", *orig++);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user