From 7c6047254e5aa7ce5a0667b14676b22a7447f956 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 10 Sep 2018 16:26:08 -0700 Subject: Upgraded to 3.8 (text method changes) and fixed some bugs in tree_to_nomsu. --- lib/base64.nom | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/base64.nom') diff --git a/lib/base64.nom b/lib/base64.nom index 92ce7c4..366ac3e 100644 --- a/lib/base64.nom +++ b/lib/base64.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V3.7.5.6 +#!/usr/bin/env nomsu -V3.8.7.6 # This file defines actions for encoding/decoding base 64, as specified in: https://tools.ietf.org/html/rfc4648 @@ -39,7 +39,7 @@ action [base64 %str, base64 encode %str, %str base64]: %chars::add "=" %chars::add "=" - return (%chars joined) + return (%chars::joined) action [chr %] (=lua "string.char(\%)") action [decode base64 %str, %str base64 decoded, base64 decode %str]: @@ -52,4 +52,4 @@ action [decode base64 %str, %str base64 decoded, base64 decode %str]: if (%str.(%i + 3) == "="): stop %chars::add (chr (((%indices.3 & 3) << 6) + %indices.4)) - return (%chars joined) + return (%chars::joined) -- cgit v1.2.3