diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-11 01:09:26 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-11 01:09:26 -0800 |
| commit | 6f4b67632a544780438110bb11e5122448e24881 (patch) | |
| tree | 3549eb211df19ff6870d5cf63ad1c25d1880040b /lib/operators.nom | |
| parent | c0333ca31532f14ec8ebd841a5f68b2f35e9cc80 (diff) | |
Renamed String -> Text
Diffstat (limited to 'lib/operators.nom')
| -rw-r--r-- | lib/operators.nom | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/operators.nom b/lib/operators.nom index 7eada51..05656ea 100644 --- a/lib/operators.nom +++ b/lib/operators.nom @@ -24,7 +24,7 @@ compile [..] local condition = nomsu:tree_to_lua(\%condition).expr; local when_true = nomsu:tree_to_lua(\%when_true_expr).expr; local when_false = nomsu:tree_to_lua(\%when_false_expr).expr; - local safe = {String=true, List=true, Dict=true, Number=true}; + local safe = {Text=true, List=true, Dict=true, Number=true}; if safe[\%when_true_expr.type] then return "("..condition.." and "..when_true.." or "..when_false..")"; else |
