From d5cfaa37be9e278c44a25ef448a071390597306e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 18 Jul 2018 01:27:56 -0700 Subject: Upgrading to version 2.3 (main change: "=" instead of "<-" for assignment) --- lib/os.nom | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'lib/os.nom') diff --git a/lib/os.nom b/lib/os.nom index 8c6a153..57dac26 100644 --- a/lib/os.nom +++ b/lib/os.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V2.2.4.3 +#!/usr/bin/env nomsu -V2.3.4.3 # This file defines some actions that interact with the operating system and filesystem. @@ -39,8 +39,5 @@ action [..] ..: lua> "local file = io.open(\%filename, 'w')\nfile:write(\%text)\nfile:close()" -action [line number of %pos in %str] (..) - =lua "files.get_line_number(\%str, \%pos)" - -action [line %line_num in %str] (..) - =lua "files.get_line(\%str, \%line_num)" +action [line number of %pos in %str] (=lua "files.get_line_number(\%str, \%pos)") +action [line %line_num in %str] (=lua "files.get_line(\%str, \%line_num)") \ No newline at end of file -- cgit v1.2.3