comparison src/luan/modules/parsers/LuanParser.java @ 1578:c922446f53aa

immutable threading
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 08 Feb 2021 14:16:19 -0700
parents f118ead273a1
children
comparison
equal deleted inserted replaced
1577:60e5c324adf9 1578:c922446f53aa
261 LuanTable tbl = new LuanTable(); 261 LuanTable tbl = new LuanTable();
262 do { 262 do {
263 spaces(); 263 spaces();
264 Object obj = value(); 264 Object obj = value();
265 if( obj != null ) { 265 if( obj != null ) {
266 if( obj != NULL ) 266 if( obj != NULL ) {
267 tbl.rawAdd(obj); 267 try {
268 tbl.rawAdd(obj);
269 } catch(LuanException e) {
270 throw new RuntimeException(e);
271 }
272 }
268 spaces(); 273 spaces();
269 continue; 274 continue;
270 } 275 }
271 Object key = key(); 276 Object key = key();
272 if( key != null ) { 277 if( key != null ) {