From 6304288112f2418a2f0a14076363646ec3ce2fa3 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Mon, 3 Feb 2014 08:02:53 +0000 Subject: [PATCH] [docs] remind users tho send EOF marker when doing input from cin. The example program waiting infinitely for EOF has confused at least one user: --- doc/tutorial/ginac.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/tutorial/ginac.texi b/doc/tutorial/ginac.texi index d5bea846..2010a9a7 100644 --- a/doc/tutorial/ginac.texi +++ b/doc/tutorial/ginac.texi @@ -6539,7 +6539,9 @@ Sometimes you might want to prevent GiNaC from inserting these extra symbols @} @end example -With this parser, it's also easy to implement interactive GiNaC programs: +With this parser, it's also easy to implement interactive GiNaC programs. +When running the following program interactively, remember to send an +EOF marker after the input, e.g. by pressing Ctrl-D on an empty line: @example #include -- 2.44.0