diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-10-23 16:28:45 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-10-23 16:28:45 -0700 |
| commit | 60a85bbd8ba7daa22e9bef48037e2480cc06dae1 (patch) | |
| tree | d32c053a168dd9a469ee7f1c4c06aa7c165c59e5 /lib/plurals.nom | |
| parent | 2197da3028b0ce3a08d3eca516ed5a1074ca92e1 (diff) | |
Removed some unnecessary semicolons on keywords.
Diffstat (limited to 'lib/plurals.nom')
| -rw-r--r-- | lib/plurals.nom | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/plurals.nom b/lib/plurals.nom index 52a3294..a1c293f 100644 --- a/lib/plurals.nom +++ b/lib/plurals.nom @@ -9,12 +9,12 @@ with secrets: | return key..endings[key:sub(-1)]; |end}); |secrets.singulars = setmetatable({}, {__index=function(self,key) - | if key:sub(-2) == "es" and rawget(endings, key:sub(-3,-3)) then; return key:sub(1,-3); end; - | if key:sub(-1) == "s" then; return key:sub(1,-2); end; + | if key:sub(-2) == "es" and rawget(endings, key:sub(-3,-3)) then return key:sub(1,-3); end + | if key:sub(-1) == "s" then return key:sub(1,-2); end | return key; |end}); |secrets.canonicals = setmetatable({}, {__index=function(self,key) - | if key:sub(-1) == "s" then; return secrets.singulars[key]; end; + | if key:sub(-1) == "s" then return secrets.singulars[key]; end | return key; |end}); |
