apply dborca's patch - make the "-U" switch work - finally!

This commit is contained in:
Frank Kotler 2003-06-14 12:12:26 +00:00
parent fac9abce80
commit d352302111
2 changed files with 3 additions and 0 deletions

2
nasm.c
View File

@ -378,6 +378,8 @@ static int process_arg (char *p, char *q)
case 'E':
case 'F':
case 'X':
case 'u':
case 'U':
if ( !(param = get_param (p, q, &advance)) )
break;
if (p[1]=='o') { /* output file */

View File

@ -4429,6 +4429,7 @@ pp_pre_undefine(char *definition)
space = new_Token(NULL, TOK_WHITESPACE, NULL, 0);
def = new_Token(space, TOK_PREPROC_ID, "%undef", 0);
space->next = tokenise(definition);
l = nasm_malloc(sizeof(Line));
l->next = predef;