[Nasm-devel] [PATCH] Handling TASM non-quoted include filenames

Ray Ransom nasm at micosyen.com
Thu Jan 25 12:19:20 PST 2024


TASM non-quoted include filenames:
==================================

This is pretty simple.  No long description is required.

preproc.c (2.16.02rc7)  line 4306:
----------------------
     case PP_INCLUDE:
         if (tasm_compatible_mode)
         {
           j = (int)TOKEN_ID;       // TASM include names are not quoted
           goto IntReq;
         }
     case PP_REQUIRE:
         j = (int)TOKEN_STR;
         IntReq:
         t = tline->next = expand_smacro(tline->next);
         t = skip_white(t);

         if (!t || (t->type != (enum token_type)j &&
                    t->type != TOKEN_INTERNAL_STR)) {

Signed-off-by: Ray M. Ransom <nasm at micosyen.com>

I've never submitted a patch before, so please advise if there is 
addition protocol required.  I have another, bigger patch, but I will 
wait and see how this goes before submitting it.



More information about the Nasm-devel mailing list