]> gitweb.factorcode.org Git - factor.git/commitdiff
new accessors
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 2 Sep 2008 17:36:35 +0000 (12:36 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 2 Sep 2008 17:36:35 +0000 (12:36 -0500)
extra/asn1/asn1.factor

index 3c4aea028b34c26eca8be6e0434c541518126fe2..df5d11be751916873d3cbcfd635275828bb92fc0 100644 (file)
@@ -184,7 +184,7 @@ TUPLE: tag value ;
     tagnum get (>>value) ;
 
 M: string >ber ( str -- byte-array )
-    tagnum get tag-value 1array "C" pack-native swap dup
+    tagnum get value>> 1array "C" pack-native swap dup
     length >ber-length-encoding swapd append swap
     >byte-array append ;