1
0

Removed old (Ripper.lex based) formula validation code

Muted multiple 'disallowed' messages for keywords
Removed unnecessary .to_d call in formula computation
This commit is contained in:
cryptogopher
2019-11-11 00:01:31 +01:00
parent d768adb86b
commit 613c26728c
2 changed files with 23 additions and 93 deletions

View File

@@ -29,7 +29,8 @@ en:
invalid_formula: 'interpretation failed: %{msg}'
unparsable_formula: 'cannot be parsed'
disallowed_token: 'includes disallowed token "%{token}" (of type: %{ttype})'
disallowed_function_call: 'includes disallowed function call: %{function}'
disallowed_keyword: 'includes disallowed keyword: "%{keyword}"'
disallowed_function: 'includes disallowed function call: %{function}'
unknown_quantity: 'contains undefined quantity: %{quantity}'
body_trackers:
index: