Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: frontends/tasm/tasm.c

Issue 1678113003: Completely strip the __DATE__ reference. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/yasm/patched-yasm.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | frontends/yasm/yasm.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Program entry point, command line parsing 2 * Program entry point, command line parsing
3 * 3 *
4 * Copyright (C) 2001-2008 Peter Johnson 4 * Copyright (C) 2001-2008 Peter Johnson
5 * Copyright (C) 2007-2008 Samuel Thibault 5 * Copyright (C) 2007-2008 Samuel Thibault
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 { "z", 0, opt_ignore, 0, 217 { "z", 0, opt_ignore, 0,
218 N_("Display source line with error message (ignored)"), NULL }, 218 N_("Display source line with error message (ignored)"), NULL },
219 219
220 { "b", 0, opt_exe_handler, 0, 220 { "b", 0, opt_exe_handler, 0,
221 N_("Build a (very) basic .exe file"), NULL }, 221 N_("Build a (very) basic .exe file"), NULL },
222 }; 222 };
223 223
224 /* version message */ 224 /* version message */
225 /*@observer@*/ static const char *version_msg[] = { 225 /*@observer@*/ static const char *version_msg[] = {
226 PACKAGE_STRING, 226 PACKAGE_STRING,
227 #if !defined(DONT_EMBED_BUILD_METADATA) || defined(OFFICIAL_BUILD)
228 "Compiled on " __DATE__ ".",
229 #endif
230 "Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.", 227 "Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.",
231 "Run yasm --license for licensing overview and summary." 228 "Run yasm --license for licensing overview and summary."
232 }; 229 };
233 230
234 /* help messages */ 231 /* help messages */
235 /*@observer@*/ static const char *help_head = N_( 232 /*@observer@*/ static const char *help_head = N_(
236 "usage: tasm [option]* source [,object] [,listing] [,xref] \n" 233 "usage: tasm [option]* source [,object] [,listing] [,xref] \n"
237 "Options:\n"); 234 "Options:\n");
238 /*@observer@*/ static const char *help_tail = N_( 235 /*@observer@*/ static const char *help_tail = N_(
239 "\n" 236 "\n"
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 } 991 }
995 992
996 static void 993 static void
997 print_yasm_warning(const char *filename, unsigned long line, const char *msg) 994 print_yasm_warning(const char *filename, unsigned long line, const char *msg)
998 { 995 {
999 if (line) 996 if (line)
1000 fprintf(errfile, "*%s* %s(%lu) %s\n", _("Warning"), filename, line, msg) ; 997 fprintf(errfile, "*%s* %s(%lu) %s\n", _("Warning"), filename, line, msg) ;
1001 else 998 else
1002 fprintf(errfile, "*%s* %s %s\n", _("Warning"), filename, msg); 999 fprintf(errfile, "*%s* %s %s\n", _("Warning"), filename, msg);
1003 } 1000 }
OLDNEW
« no previous file with comments | « no previous file | frontends/yasm/yasm.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698