| OLD | NEW |
| 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 Loading... |
| 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 }; |
| OLD | NEW |