comparison core/src/luan/impl/LuanParser.java @ 693:ca169567ce07

module URIs must now include ".luan"
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 19 Apr 2016 15:54:11 -0600
parents f99f51bc5bea
children b620b8e1010f
comparison
equal deleted inserted replaced
692:7bd97d642f37 693:ca169567ce07
375 private Stmts TemplateStmt() throws ParseException { 375 private Stmts TemplateStmt() throws ParseException {
376 Expr exprs = TemplateExpressions(In.NOTHING); 376 Expr exprs = TemplateExpressions(In.NOTHING);
377 if( exprs == null ) 377 if( exprs == null )
378 return null; 378 return null;
379 Stmts stmt = new Stmts(); 379 Stmts stmt = new Stmts();
380 stmt.add( "Luan.checkFunction(luan.index(PackageLuan.require(luan,\"luan:Io\"),\"template_write\")).call(luan," ); 380 stmt.add( "Luan.checkFunction(luan.index(PackageLuan.require(luan,\"luan:Io.luan\"),\"template_write\")).call(luan," );
381 stmt.addAll( exprs.array() ); 381 stmt.addAll( exprs.array() );
382 stmt.add( "); " ); 382 stmt.add( "); " );
383 return stmt; 383 return stmt;
384 } 384 }
385 385