rev 292 - trunk/pr

SVN User <[email protected]>
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: bcollins
Date: 2004-04-06 08:51:02 -0400 (Tue, 06 Apr 2004)
New Revision: 292

Modified:
   trunk/pr/defs.pr
Log:
Fixup another script for eol-style and exec, plus add sh-bang


Modified: trunk/pr/defs.pr
===================================================================
--- trunk/pr/defs.pr	2004-04-06 12:50:04 UTC (rev 291)
+++ trunk/pr/defs.pr	2004-04-06 12:51:02 UTC (rev 292)
@@ -1,14 +1,15 @@
-
-print "\nThis should print 1 2 3 1 2 3\n"
-
-def outer():
-	c = 0
-	def f():
-		&c += 1
-		return &c
-	return f
-
-c1 = outer()
-c2 = outer()
-print c1(),c1(),c1(),c2(),c2(),c2()
-
+#!/usr/bin/env prothon
+
+print "\nThis should print 1 2 3 1 2 3\n"
+
+def outer():
+	c = 0
+	def f():
+		&c += 1
+		return &c
+	return f
+
+c1 = outer()
+c2 = outer()
+print c1(),c1(),c1(),c2(),c2(),c2()
+


Property changes on: trunk/pr/defs.pr
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:eol-style
   + native
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.