lib/faml/static_hash_parser.rb in faml-0.3.2 vs lib/faml/static_hash_parser.rb in faml-0.3.3
- old
+ new
@@ -48,11 +48,11 @@
if node.type != :pair
throw FAILURE_TAG
end
key = node.children[0]
val = node.children[1]
-
- if key_static = try_static_key(key)
+ key_static = try_static_key(key)
+ if key_static
try_static_value(key_static, val)
else
throw FAILURE_TAG
end
end