Mercurial Hosting > luan
comparison src/luan/modules/parsers/LuanToString.java @ 1409:9103a61e64bc
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 25 Sep 2019 08:09:05 -0600 |
parents | 2024d23ddd64 |
children | 59fd2e8b1b9d |
comparison
equal
deleted
inserted
replaced
1408:5b8f76e26ab7 | 1409:9103a61e64bc |
---|---|
40 if( obj instanceof LuanTable ) { | 40 if( obj instanceof LuanTable ) { |
41 toString((LuanTable)obj,sb,indented); | 41 toString((LuanTable)obj,sb,indented); |
42 return; | 42 return; |
43 } | 43 } |
44 if( strict ) | 44 if( strict ) |
45 throw new LuanException("can't handle type "+obj.getClass().getName()); | 45 throw new LuanException("can't handle type "+Luan.type(obj)); |
46 sb.append( '<' ); | 46 sb.append( '<' ); |
47 sb.append( obj ); | 47 sb.append( obj ); |
48 sb.append( '>' ); | 48 sb.append( '>' ); |
49 } | 49 } |
50 | 50 |