Following up on this...
> When I run the incorrect code, I get this:
> /tmp/x(1:4): Expecting end-of-line
> That does not mean "Line 1, character 4". It means: "Somewhere in the
> logical line that is physical lines 1 through 4, I was expecting
> end-of-line".
I realize this is pretty unhelpful, so I have committed a change that
improves error reporting when parsing an expression. If the file
/tmp/x is as follows:
FSET betime(b, e) "AT " \
+ b \
+ " DURATION " \
(e-b)
then running Remind on this file will henceforth yield:
$ ./remind /tmp/x
"AT " + b + " DURATION " (e-b)
^-- here
/tmp/x(1:4): Expecting end-of-expression
No reminders.
which I think is a lot more helpful in pinpointing the problem.
Regards,
Dianne.
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/