diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/genlang | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/genlang b/tools/genlang index 927855895c..39f1696e8c 100755 --- a/tools/genlang +++ b/tools/genlang | |||
@@ -76,8 +76,8 @@ while(<LANG>) { | |||
76 | $value = $set{'eng'}; | 76 | $value = $set{'eng'}; |
77 | } | 77 | } |
78 | 78 | ||
79 | print HFILE " ".$set{'id'}.",\n"; | 79 | print HFILE " ".$set{'id'}.",\n"; |
80 | print CFILE " $value,\n"; | 80 | print CFILE " $value,\n"; |
81 | 81 | ||
82 | undef %set; | 82 | undef %set; |
83 | } | 83 | } |
@@ -89,6 +89,7 @@ close(LANG); | |||
89 | 89 | ||
90 | 90 | ||
91 | print HFILE <<MOO | 91 | print HFILE <<MOO |
92 | LANG_LAST_INDEX_IN_ARRAY /* this is not a string, this is a marker */ | ||
92 | }; | 93 | }; |
93 | /* end of generated enum list */ | 94 | /* end of generated enum list */ |
94 | MOO | 95 | MOO |