891 break |
891 break |
892 end |
892 end |
893 end |
893 end |
894 next if matched |
894 next if matched |
895 |
895 |
|
896 if key.to_s == '$KCODE' or key.to_s == '$=' or key.to_s == '$-K' |
|
897 varlist << [key.to_s, "NilClass", "nil"] |
|
898 next |
|
899 end |
|
900 |
896 begin |
901 begin |
897 if access |
902 if access |
898 if key.to_s == key |
903 if key.to_s == key |
899 key = "'%s'" % key |
904 key = "'%s'" % key |
900 else |
905 else |
901 key = key.to_s |
906 key = key.to_s |
902 end |
907 end |
903 k = "#{access}[%s]" % key |
908 k = "#{access}[%s]" % key |
904 obj = eval(k, binding_) |
909 obj = eval(k, binding_) |
905 else |
910 else |
906 obj = eval(key, binding_) |
911 obj = eval(key.to_s, binding_) |
907 end |
912 end |
908 rescue NameError |
913 rescue NameError |
909 next |
914 next |
910 end |
915 end |
911 |
916 |