More support for DS80C400
[fw/sdcc] / support / cpp2 / cppmacro.c
index 643aeefca3a0f9dcdb0ca74e30e2bf18e7319243..ed02b2ab2842b368d9a69a57a97016ee14c6089c 100644 (file)
@@ -1420,7 +1420,8 @@ _cpp_create_definition (pfile, node)
              macro->count--;
            }
          /* Let assembler get away with murder.  */
-         else if (CPP_OPTION (pfile, lang) != CLK_ASM)
+         else if ((CPP_OPTION (pfile, lang) != CLK_ASM)
+               && (!CPP_OPTION(pfile, allow_naked_hash)))
            {
              ok = 0;
              cpp_error (pfile, "'#' is not followed by a macro parameter");