(svn r23576) -Codechange: split the base of strgen with the strgen code that creates the actual .lng files

This commit is contained in:
rubidium
2011-12-17 18:34:03 +00:00
parent 6dc2b3b86a
commit 67c9d930f2
5 changed files with 1062 additions and 1014 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -138,4 +138,14 @@ struct LanguageWriter {
void WriteLang(const StringData &data);
};
void CDECL strgen_warning(const char *s, ...) WARN_FORMAT(1, 2);
void CDECL strgen_error(const char *s, ...) WARN_FORMAT(1, 2);
void NORETURN CDECL strgen_fatal(const char *s, ...) WARN_FORMAT(1, 2);
char *ParseWord(char **buf);
extern const char *_file;
extern int _cur_line;
extern int _errors, _warnings, _show_todo;
extern LanguagePackHeader _lang;
#endif /* STRGEN_H */

1030
src/strgen/strgen_base.cpp Normal file

File diff suppressed because it is too large Load Diff