1
0
Fork 0
forked from len0rd/rockbox

indent the generated code properly, add an end-of-array marker named

LANG_LAST_INDEX_IN_ARRAY


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2619 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-10-14 12:19:47 +00:00
parent de4a3af55e
commit dade571a99

View file

@ -76,8 +76,8 @@ while(<LANG>) {
$value = $set{'eng'}; $value = $set{'eng'};
} }
print HFILE " ".$set{'id'}.",\n"; print HFILE " ".$set{'id'}.",\n";
print CFILE " $value,\n"; print CFILE " $value,\n";
undef %set; undef %set;
} }
@ -89,6 +89,7 @@ close(LANG);
print HFILE <<MOO print HFILE <<MOO
LANG_LAST_INDEX_IN_ARRAY /* this is not a string, this is a marker */
}; };
/* end of generated enum list */ /* end of generated enum list */
MOO MOO