Skip to content
Browse files

fixed py makestring

  • Loading branch information...
1 parent be3a805 commit 021d9a0d5bfe365a3d6df4340a46fa701f9e4588 @Gabriano Gabriano committed Jun 7, 2012
Showing with 4 additions and 4 deletions.
  1. +3 −3 gsc/_t-univ.scm
  2. +1 −1 include/stamp.h
View
6 gsc/_t-univ.scm
@@ -925,7 +925,7 @@ class String:
return "".join(self.chars)
def makestring ( n, c ):
- args = [unicode(c)]*n
+ args = [unichr(c)]*n
return String(*args)
def stringp ( s ):
@@ -1680,9 +1680,9 @@ EOF
((python)
(gen "makestring("
(translate-gvm-opnd ctx (list-ref opnds 0))
- ", unichr("
+ ", "
(translate-gvm-opnd ctx (list-ref opnds 1))
- "))"))
+ ")"))
((ruby)
(gen (translate-gvm-opnd ctx (list-ref opnds 1))
View
2 include/stamp.h
@@ -3,4 +3,4 @@
*/
#define ___STAMP_YMD 20120607
-#define ___STAMP_HMS 204204
+#define ___STAMP_HMS 205537

0 comments on commit 021d9a0

Please sign in to comment.
Something went wrong with that request. Please try again.