rev 746 - in trunk: . src

SVN User <[email protected]> Fri, 16 Jul 2004 19:09:34 -0400
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: mark
Date: 2004-07-16 19:09:32 -0400 (Fri, 16 Jul 2004)
New Revision: 746

Modified:
   trunk/STATUS.txt
   trunk/src/console.c
Log:
fixed str_ in console

Modified: trunk/STATUS.txt
===================================================================
--- trunk/STATUS.txt	2004-07-16 22:54:20 UTC (rev 745)
+++ trunk/STATUS.txt	2004-07-16 23:09:32 UTC (rev 746)
@@ -1,7 +1,6 @@
 
 ----------------------- TO-DO  FOR 1.0 ALPHA release -----------------------
 
---- bug in simple instantiation in the console in 710
 --- "import as" broken
 --- bug: prints ... after 15 items in a list
 

Modified: trunk/src/console.c
===================================================================
--- trunk/src/console.c	2004-07-16 22:54:20 UTC (rev 745)
+++ trunk/src/console.c	2004-07-16 23:09:32 UTC (rev 746)
@@ -238,7 +238,9 @@
 			ist->frame = NULL;
 		} else {
 			if (res && res != OBJ(NONE)) {
-				char* res_str = as_str(ist, res);
+				char* res_str;
+				ist->frame = frame;
+				res_str = as_str(ist, res);
 				if (res_str) {
 					if (res_str[strlen(res_str)-1] == '\n')
 						printf("%s", res_str);