Mercurial Hosting > luan
diff src/luan/interp/LuanStateImpl.java @ 123:d7be9b3abf1a
minor - rename LuanFunction.EMPTY to NOTHING
git-svn-id: https://luan-java.googlecode.com/svn/trunk@124 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Fri, 06 Jun 2014 01:14:18 +0000 |
parents | 2428ecfed375 |
children | 0149bdf98fd8 |
line wrap: on
line diff
--- a/src/luan/interp/LuanStateImpl.java Wed Jun 04 06:15:47 2014 +0000 +++ b/src/luan/interp/LuanStateImpl.java Fri Jun 06 01:14:18 2014 +0000 @@ -55,7 +55,7 @@ } private Frame frame = null; - Object returnValues = LuanFunction.EMPTY; + Object returnValues = LuanFunction.NOTHING; Closure tailFn; Map<UpValue.EnvGetter,UpValue> envs = new HashMap<UpValue.EnvGetter,UpValue>(); @@ -87,7 +87,7 @@ } void popFrame() { - returnValues = LuanFunction.EMPTY; + returnValues = LuanFunction.NOTHING; tailFn = null; frame = frame.previousFrame; }