From ea3197aaffba00318920ed5e1e33ca5f2a5e6c5c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 30 Oct 2018 23:42:04 -0700 Subject: Fully working version of (action [foo]: baz) -> ((foo) means: baz) refactor and misc other changes. --- lib/consolecolor.nom | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/consolecolor.nom') diff --git a/lib/consolecolor.nom b/lib/consolecolor.nom index f4c4df9..e0e032d 100644 --- a/lib/consolecolor.nom +++ b/lib/consolecolor.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V4.8.8.6 +#!/usr/bin/env nomsu -V4.8.10 # This file defines actions for ANSI console color escape codes. @@ -15,8 +15,7 @@ test: for %name = %colornum in %colors: %colornum = "\%colornum" (=lua "COMPILE_ACTIONS").%name = (..) - [%nomsu, %tree] -> (..) - Lua value "'\\027[\(%colornum)m'" + [%nomsu, %tree] -> (Lua value "'\\027[\(%colornum)m'") (=lua "COMPILE_ACTIONS")."\%name 1" = (..) [%nomsu, %tree, %text] -> (..) Lua value "('\\027[\(%colornum)m'..\(%text as lua expr)..'\\027[0m')" -- cgit v1.2.3