ifx most of the conversion

well . . it's still converting to ruby, minor detail
This commit is contained in:
Torsten Ruger
2018-07-19 14:59:10 +03:00
parent ae3d64eb53
commit 61225c2f20
14 changed files with 57 additions and 25 deletions

View File

@ -8,7 +8,7 @@ module Ruby
# but if(tmp_123) is with tmp_123 = @var % 5 hoisted above the if
#
# also constants count, though they may not be so useful in ifs, but returns
def normalize_name( condition )
def to_vool_name( condition )
if( condition.is_a?(ScopeStatement) and condition.single?)
condition = condition.first
end