diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-03 16:37:48 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-03 16:38:06 -0700 |
| commit | 36ead4d82bdb058229271fb742f659d47c5c48a3 (patch) | |
| tree | a87295955bdc3f553248b3fb5b1f78162cf3fba6 /core | |
| parent | e64a91b8ba7e0d2cd4af4154e3b9adcccb299854 (diff) | |
Cleanup of unnecessary parens in generated lua code for math operations.
Diffstat (limited to 'core')
| -rw-r--r-- | core/operators.nom | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/operators.nom b/core/operators.nom index 480a75f..6ec6909 100644 --- a/core/operators.nom +++ b/core/operators.nom @@ -132,11 +132,6 @@ immediately immediately # Math Operators - compile [%x + %y] to: Lua value "(\(%x as lua expr) + \(%y as lua expr))" - compile [%x - %y] to: Lua value "(\(%x as lua expr) - \(%y as lua expr))" - compile [%x * %y] to: Lua value "(\(%x as lua expr) * \(%y as lua expr))" - compile [%x / %y] to: Lua value "(\(%x as lua expr) / \(%y as lua expr))" - compile [%x ^ %y] to: Lua value "(\(%x as lua expr) ^ \(%y as lua expr))" compile [%x wrapped around %y, %x mod %y] to: Lua value "(\(%x as lua expr) % \(%y as lua expr))" # 3-part chained comparisons |
