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

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

Issue 761753002: Remove a reference to __DATE__ from yasm for non official builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/yasm/patched-yasm/
Patch Set: Created 6 years 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 | Annotate | Revision Log
« 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)
227 "Compiled on " __DATE__ ".", 228 "Compiled on " __DATE__ ".",
229 #endif
228 "Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.", 230 "Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.",
229 "Run yasm --license for licensing overview and summary." 231 "Run yasm --license for licensing overview and summary."
230 }; 232 };
231 233
232 /* help messages */ 234 /* help messages */
233 /*@observer@*/ static const char *help_head = N_( 235 /*@observer@*/ static const char *help_head = N_(
234 "usage: tasm [option]* source [,object] [,listing] [,xref] \n" 236 "usage: tasm [option]* source [,object] [,listing] [,xref] \n"
235 "Options:\n"); 237 "Options:\n");
236 /*@observer@*/ static const char *help_tail = N_( 238 /*@observer@*/ static const char *help_tail = N_(
237 "\n" 239 "\n"
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 } 994 }
993 995
994 static void 996 static void
995 print_yasm_warning(const char *filename, unsigned long line, const char *msg) 997 print_yasm_warning(const char *filename, unsigned long line, const char *msg)
996 { 998 {
997 if (line) 999 if (line)
998 fprintf(errfile, "*%s* %s(%lu) %s\n", _("Warning"), filename, line, msg) ; 1000 fprintf(errfile, "*%s* %s(%lu) %s\n", _("Warning"), filename, line, msg) ;
999 else 1001 else
1000 fprintf(errfile, "*%s* %s %s\n", _("Warning"), filename, msg); 1002 fprintf(errfile, "*%s* %s %s\n", _("Warning"), filename, msg);
1001 } 1003 }
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