Mercurial Hosting > luan
comparison src/luan/LuanState.java @ 795:dd36eae6aa04
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 05 Sep 2016 16:32:55 -0600 |
parents | c49980cdece6 |
children | ba4daf107e07 |
comparison
equal
deleted
inserted
replaced
794:f16c77ef0f4f | 795:dd36eae6aa04 |
---|---|
83 if( obj instanceof LuanTable ) { | 83 if( obj instanceof LuanTable ) { |
84 LuanTable tbl = (LuanTable)obj; | 84 LuanTable tbl = (LuanTable)obj; |
85 return tbl.get(this,key); | 85 return tbl.get(this,key); |
86 } | 86 } |
87 if( obj != null && java.ok ) | 87 if( obj != null && java.ok ) |
88 return JavaLuan.__index(this,obj,key,false); | 88 return JavaLuan.__index(this,obj,key); |
89 throw new LuanException("attempt to index a " + Luan.type(obj) + " value" ); | 89 throw new LuanException("attempt to index a " + Luan.type(obj) + " value" ); |
90 } | 90 } |
91 | 91 |
92 /* | 92 /* |
93 public Number checkNumber(Object obj) throws LuanException { | 93 public Number checkNumber(Object obj) throws LuanException { |