Mercurial Hosting > luan
comparison core/src/luan/modules/BasicLuan.java @ 675:d95caff8ba8c
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 12 Apr 2016 19:41:26 -0600 |
parents | cdc70de628b5 |
children | fc08c3b42010 |
comparison
equal
deleted
inserted
replaced
674:2994e46f62b7 | 675:d95caff8ba8c |
---|---|
28 public static LuanFunction load(LuanState luan,String text,String sourceName,LuanTable env,Boolean allowExpr) | 28 public static LuanFunction load(LuanState luan,String text,String sourceName,LuanTable env,Boolean allowExpr) |
29 throws LuanException | 29 throws LuanException |
30 { | 30 { |
31 if( allowExpr==null ) | 31 if( allowExpr==null ) |
32 allowExpr = false; | 32 allowExpr = false; |
33 return LuanCompiler.compile(luan,sourceName,text,env,allowExpr); | 33 return LuanCompiler.compile(sourceName,text,env,allowExpr); |
34 } | 34 } |
35 | 35 |
36 public static LuanFunction load_theme(LuanState luan,String text,String sourceName) | 36 public static LuanFunction load_theme(LuanState luan,String text,String sourceName) |
37 throws LuanException | 37 throws LuanException |
38 { | 38 { |