shithub: scc

Download patch

ref: e9673ae0c19b8dfc8df20080c7b3fc5a7208e7d8
parent: ce613941ca74c13ee46efba525a9c1c721715a2c
author: Roberto E. Vargas Caballero <[email protected]>
date: Mon Apr 4 05:39:07 EDT 2016

[cc2] Fix small error in comment

'have' was missing.

--- a/cc2/parser.c
+++ b/cc2/parser.c
@@ -544,8 +544,8 @@
 	sym = np->u.sym;
 	/*
 	 * We have to free sym->name because in tentative declarations
-	 * we can multiple declarations of the same symbol, and in this
-	 * case our parser will allocate twice the memory
+	 * we can have multiple declarations of the same symbol, and in
+	 * this case our parser will allocate twice the memory
 	 */
 	free(sym->name);
 	sym->name = name;