rev 706 - in trunk: . include/prothon src

SVN User <[email protected]> Mon, 05 Jul 2004 18:35:10 -0400
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: mark
Date: 2004-07-05 18:35:07 -0400 (Mon, 05 Jul 2004)
New Revision: 706

Modified:
   trunk/CHANGES.txt
   trunk/include/prothon/prothon.h
   trunk/src/builtins-core.c
Log:
*** release build ***
removed return value from print function

Modified: trunk/CHANGES.txt
===================================================================
--- trunk/CHANGES.txt	2004-07-05 18:08:54 UTC (rev 705)
+++ trunk/CHANGES.txt	2004-07-05 22:35:07 UTC (rev 706)
@@ -1,7 +1,7 @@
 
 			----- Prothon Release History ----
 
-Version 0.1.2 - Build 705 - 7/05/04
+Version 0.1.2 - Build 706 - 7/05/04
 	- print is now a function, not a keyword
 	- function-as-command feature allows print to be used without parens
 	- Added prop keyword and properties feature with wildcards
@@ -13,6 +13,7 @@
 	- Split String type into seperate String and Bytes (binary) types
 	- Split File into File and TextFile
 	- Replaced String % operator with String.fmt()
+	- Added cmp_ and eq_? for strings of length 1 and Ints
 	- Added object-oriented Directory object and methods
 	- Added TempDir and TempFile (deleted at shutdown)
 	- Added basic DateTime object
@@ -38,6 +39,7 @@
 	- Changed SQLite to sqlite, OS to os, Re to re
 	- Change symbol prefix from backtick (`var) to dollar-sign ($var)
 	- Changed console prompt from >>> to O>>
+	- Added many new *.pr test files
 	- Fixed crash on printing recursive containers, now prints ...
 	- Fixed assignment from sequences to arg lists and for statements
 	- Fixed import in console

Modified: trunk/include/prothon/prothon.h
===================================================================
--- trunk/include/prothon/prothon.h	2004-07-05 18:08:54 UTC (rev 705)
+++ trunk/include/prothon/prothon.h	2004-07-05 22:35:07 UTC (rev 706)
@@ -81,7 +81,7 @@
 #endif
  
 #define PROTHON_VERSION_NUMBER	"0.1"
-#define PROTHON_VERSION_BUILD   "$Rev: 705$"  
+#define PROTHON_VERSION_BUILD   "$Rev: 706$"  
 #define PROTHON_VERSION_DATE	__DATE__
 
 #ifndef FALSE

Modified: trunk/src/builtins-core.c
===================================================================
--- trunk/src/builtins-core.c	2004-07-05 18:08:54 UTC (rev 705)
+++ trunk/src/builtins-core.c	2004-07-05 22:35:07 UTC (rev 706)
@@ -391,7 +391,6 @@
 }
 
 DEF(Object, print, FORM_STAR3_PARAM) {
-	obj_p res;
 	obj_p arg_list = parms[1];
 	obj_p arg_dict = parms[3];
 	int i, llen = (int) list_len(ist, arg_list);
@@ -426,12 +425,12 @@
 	if (llen == 0) strcpy(str, eol);
 	printf("%s", str);
 	//if (ist->in_console) {
-	//	pr_free(str);
-	//	return OBJ(NONE);
-	//} else {
-		res = NEW_STRING(str);
 		pr_free(str);
-		return res;
+		return OBJ(NONE);
+	//} else {
+	//	res = NEW_STRING(str);
+	//	pr_free(str);
+	//	return res;
 	//}
 }