lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,
How you write c-style structures in lua? The following does not appear to work: what am I missing? Any help/suggestions  is appreciated.
 
_g_run_options =
{
  log_dir =     "mylog",
  group_dir =
    {
       [0] =       ".../group"
    },
  print_precision =     4,
  print_preprocess_files =
    {
[0] =       "TREE",
      "CELL"
    },
  xcount =     "false",
  fprofile =     "true",
  fprofile_count =     20,
  gstats =     "true",
  dstats =     "true",
  uppercase =     "false",
  prefix =     "",
  opt=     "false"
}