Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Premature end of file
PostPosted: Mon Oct 18, 2010 1:29 pm 

Joined: Fri Oct 17, 2008 11:22 pm
Posts: 7
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Premature end of file
PostPosted: Mon Oct 18, 2010 1:34 pm 

Joined: Fri Oct 17, 2008 11:22 pm
Posts: 7
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?


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 11:07 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group