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

Side by Side Diff: third_party/yasm/patched-yasm/modules/preprocs/nasm/nasm-pp.c

Issue 11364046: Update Yasm to 1.2.0 (Yasm Part 1/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 8 years, 1 month 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
OLDNEW
1 /* -*- mode: c; c-file-style: "bsd" -*- */ 1 /* -*- mode: c; c-file-style: "bsd" -*- */
2 /* preproc.c macro preprocessor for the Netwide Assembler 2 /* preproc.c macro preprocessor for the Netwide Assembler
3 * 3 *
4 * The Netwide Assembler is copyright (C) 1996 Simon Tatham and 4 * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
5 * Julian Hall. All rights reserved. The software is 5 * Julian Hall. All rights reserved. The software is
6 * redistributable under the licence given in the file "Licence" 6 * redistributable under the licence given in the file "Licence"
7 * distributed in the NASM archive. 7 * distributed in the NASM archive.
8 * 8 *
9 * initial version 18/iii/97 by Simon Tatham 9 * initial version 18/iii/97 by Simon Tatham
10 */ 10 */
(...skipping 5289 matching lines...) Expand 10 before | Expand all | Expand 10 after
5300 l->finishes = FALSE; 5300 l->finishes = FALSE;
5301 stddef = l; 5301 stddef = l;
5302 } 5302 }
5303 } 5303 }
5304 5304
5305 static void 5305 static void
5306 make_tok_num(Token * tok, yasm_intnum *val) 5306 make_tok_num(Token * tok, yasm_intnum *val)
5307 { 5307 {
5308 tok->text = yasm_intnum_get_str(val); 5308 tok->text = yasm_intnum_get_str(val);
5309 tok->type = TOK_NUMBER; 5309 tok->type = TOK_NUMBER;
5310 yasm_intnum_destroy(val);
5310 } 5311 }
5311 5312
5312 Preproc nasmpp = { 5313 Preproc nasmpp = {
5313 pp_reset, 5314 pp_reset,
5314 pp_getline, 5315 pp_getline,
5315 pp_cleanup 5316 pp_cleanup
5316 }; 5317 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698