From b0d37e52519634b55c105be945f0d9057a7a52e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Garc=C3=ADa=20Cota?= Date: Sun, 24 Apr 2011 15:07:18 +0200 Subject: [PATCH] fixed comment typos --- inspect.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/inspect.lua b/inspect.lua index 1c109b5..f0ec34f 100644 --- a/inspect.lua +++ b/inspect.lua @@ -5,10 +5,8 @@ -- inspired by http://lua-users.org/wiki/TableSerialization ----------------------------------------------------------------------------------------------------------------------- --- public function - -- Apostrophizes the string if it has quotes, but not aphostrophes --- Otherwise, it returns regular a requilar quoted string +-- Otherwise, it returns a regular quoted string local function smartQuote(str) if string.match( string.gsub(str,"[^'\"]",""), '^"+$' ) then return "'" .. str .. "'"