diff options
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 |
