Singular
https://www.singular.uni-kl.de/forum/

Premature end of file
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=1873
Page 1 of 1

Author:  John Perry [ Mon Oct 18, 2010 1:29 pm ]
Post subject:  Premature end of file

I just received the following error message:
Quote:
? premature end of file while reading {...}
Actually, I received three copies of the message, and now Singular seems to have hung: I get a dot at the beginning of a line, and can't do anything productive, except quit. Oddly, Singular didn't complain when loading the library, only when I tried to run something.

I think I know what premature end of file means, and I don't doubt that it's an error on my part. Still, I don't understand why I'm getting this. Is it a misplaced brace?

Author:  John Perry [ Mon Oct 18, 2010 1:34 pm ]
Post subject:  Re: Premature end of file

Wow. It was a misplaced brace in a comment. I had,
Code:
// if (size(new_cp[1]) == 2) {
and Singular was confused by that. Is this a bug, or expected behavior?

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/