| OLD | NEW |
| 1 /* $Id: genmacro.c 2084 2008-05-09 07:08:17Z peter $ | 1 /* |
| 2 * | 2 * |
| 3 * C version of NASM's macros.pl | 3 * C version of NASM's macros.pl |
| 4 * | 4 * |
| 5 * Copyright (C) 2004-2008 Peter Johnson | 5 * Copyright (C) 2004-2008 Peter Johnson |
| 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 |
| 11 * notice, this list of conditions and the following disclaimer. | 11 * notice, this list of conditions and the following disclaimer. |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 fclose(in); | 125 fclose(in); |
| 126 } | 126 } |
| 127 | 127 |
| 128 fprintf(out, " NULL\n};\n"); | 128 fprintf(out, " NULL\n};\n"); |
| 129 fclose(out); | 129 fclose(out); |
| 130 | 130 |
| 131 free(str); | 131 free(str); |
| 132 | 132 |
| 133 return EXIT_SUCCESS; | 133 return EXIT_SUCCESS; |
| 134 } | 134 } |
| OLD | NEW |