From 3a758132b402e2c4a346d1feb45d00300fed16e7 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 23 Feb 2011 10:14:53 -0800 Subject: Added proper support for enum default values. --- lang_ext/lua/test.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lang_ext') diff --git a/lang_ext/lua/test.lua b/lang_ext/lua/test.lua index 67c955e..072f646 100644 --- a/lang_ext/lua/test.lua +++ b/lang_ext/lua/test.lua @@ -23,12 +23,12 @@ SpeedMessage1 = symtab:lookup("benchmarks.SpeedMessage1") print(SpeedMessage1:name()) msg = SpeedMessage1() ---print(msg.field1) +print(msg.foo) -- print(msg.field129) -- print(msg.field271) -print(msg.field15.field15) -msg.field15.field15 = "my override" -print(msg.field15.field15) +--print(msg.field15.field15) +--msg.field15.field15 = "my override" +--print(msg.field15.field15) -- print(msg.field1) -- print(msg.field1) -- msg.field1 = "YEAH BABY!" -- cgit v1.2.3