summaryrefslogtreecommitdiff
path: root/tools/genlang
diff options
context:
space:
mode:
Diffstat (limited to 'tools/genlang')
-rwxr-xr-xtools/genlang5
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
91print HFILE <<MOO 91print 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 */
94MOO 95MOO