diff core/src/luan/modules/luan_to_java.luan @ 708:77e0c859c8a3

fix luan_to_java and fix line numbers
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 18 May 2016 18:11:00 -0600
parents ca169567ce07
children
line wrap: on
line diff
--- a/core/src/luan/modules/luan_to_java.luan	Wed May 18 15:46:51 2016 -0600
+++ b/core/src/luan/modules/luan_to_java.luan	Wed May 18 18:11:00 2016 -0600
@@ -2,4 +2,4 @@
 local LuanCompiler = require "java:luan.impl.LuanCompiler"
 local Io = require "luan:Io.luan"
 
-Io.stdout.write( LuanCompiler.toJava( "stdin", Io.stdin.read_text() ) )
+Io.stdout.write( LuanCompiler.toJava( Io.stdin.read_text(), "stdin" ) )