From: borutr Date: Fri, 31 Oct 2003 10:31:48 +0000 (+0000) Subject: sdcpp now generates the standard X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=ef79e5471beb4786fb2f8d100aa41aee9ad8a724;p=fw%2Fsdcc sdcpp now generates the standard '# ' instead of former '#line ' git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2970 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/support/cpp2/cppmain.c b/support/cpp2/cppmain.c index d01b4c25..004aeebc 100644 --- a/support/cpp2/cppmain.c +++ b/support/cpp2/cppmain.c @@ -344,14 +344,8 @@ print_line (special_flags) putc ('\n', print.outf); print.printed = 0; - /* SDCC likes #line, not # number. Should be fixed... */ -#if 0 fprintf (print.outf, "# %u \"%s\"%s%s\n", print.lineno, print.last_fname, special_flags, print.syshdr_flags); -#else - fprintf (print.outf, "#line %u \"%s\"%s%s\n", - print.lineno, print.last_fname, special_flags, print.syshdr_flags); -#endif } /* Callbacks. */