diff --git a/jtlc b/jtlc index 41ba8f9..f88ace9 100755 --- a/jtlc +++ b/jtlc @@ -32,7 +32,7 @@ def main(argv): for s in args.sources: tf = tempfile.NamedTemporaryFile(suffix = '.c', delete = False) tfname = tf.name - success = build(args, s, tf) + success = translate(args, s, tf) tf.close() if success: m = re.match('(.*)\.jtl', s) @@ -49,7 +49,7 @@ def main(argv): return 0 if success else 2 -def build(args, source, dest): +def translate(args, source, dest): f = open(source, 'r') contents = f.read() f.close()