shithub: scc

Download patch

ref: 75f3f829eaa2e72575b9e5c802b290a17d837e54
parent: 27e13dac39adc371f8bdf5f36e3bb3962aaea004
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Jun 1 10:20:17 EDT 2022

cc1: Remove incorrect comment

%.*s is C99.

--- a/src/cmd/cc/cc1/lex.c
+++ b/src/cmd/cc/cc1/lex.c
@@ -92,7 +92,6 @@
 			infileln = strlen(infile);
 			if (extp = strrchr(infile, '.'))
 				infileln -= strlen(extp);
-			/* TODO: is this C99? */
 			printf("%.*s.o: %s %s\n",
 			       infileln, infile, infile, fname);
 		}