summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/settings_helper.pl
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/settings_helper.pl')
-rwxr-xr-xapps/plugins/lua/settings_helper.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/lua/settings_helper.pl b/apps/plugins/lua/settings_helper.pl
index 2945afd354..4a280e60c7 100755
--- a/apps/plugins/lua/settings_helper.pl
+++ b/apps/plugins/lua/settings_helper.pl
@@ -293,7 +293,7 @@ sub Print_Variable {
293 $type = sprintf('%s[%d]', $1, $arr); 293 $type = sprintf('%s[%d]', $1, $arr);
294 } 294 }
295 295
296 printf "\t%s = {0x%x, %d, \"%s\"},\n", $member, $offset, $size, $type; 296 printf "\t%s = \"0x%x, %d, %s\",\n", $member, $offset, $size, $type;
297 return 1; 297 return 1;
298 } 298 }
299 return 0; 299 return 0;
@@ -303,7 +303,7 @@ if($header) #output sections to lua file [PASS 2]
303{ 303{
304 print "-- Don't change this file!\n"; 304 print "-- Don't change this file!\n";
305 printf "-- It is automatically generated %s\n", $svnrev; 305 printf "-- It is automatically generated %s\n", $svnrev;
306 print "-- member = {offset, size, \"type\"}\n\n"; 306 print "-- member = \"offset, size, type\"\n\n";
307 307
308 print "--"; 308 print "--";
309 foreach my $key (sort(keys %replace_type_prefix)) { 309 foreach my $key (sort(keys %replace_type_prefix)) {
@@ -337,6 +337,7 @@ if($header) #output sections to lua file [PASS 2]
337 } 337 }
338 } 338 }
339 } 339 }
340 print "\nreturn false\n";
340 #my ($user,$system,$cuser,$csystem) = times; 341 #my ($user,$system,$cuser,$csystem) = times;
341 #warn "Pass2 ".$user." ".$system." ".$cuser." ".$csystem."\n"; 342 #warn "Pass2 ".$user." ".$system." ".$cuser." ".$csystem."\n";
342 exit; 343 exit;