]> git.gag.com Git - fw/sdcc/commitdiff
sdcpp now generates the standard
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 31 Oct 2003 10:31:48 +0000 (10:31 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 31 Oct 2003 10:31:48 +0000 (10:31 +0000)
'# <line_number> <file_name>' instead of former
'#line <line_number> <file_name>'

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2970 4a8a32a2-be11-0410-ad9d-d568d2c75423

support/cpp2/cppmain.c

index d01b4c25b2585355b5547322b76a32b6970c4499..004aeebc710e83b5179515256f63954ea9d6a36a 100644 (file)
@@ -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.  */