shithub: scc

Download patch

ref: 16b6d7eff6ed79f63a7024868651f5652f2b4960
parent: 59dde871c2899f620c5a56e89b5940b863648210
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Mar 31 04:10:15 EDT 2022

doc: Add ISO C99 reference in the README

There was a case where we had a reference to the ANSI standard
and since it is more common to reference the ISO document I
added it here.

--- a/README
+++ b/README
@@ -151,10 +151,11 @@
   ---------------------------------------------
 
 C89 allows the definition of variables with incomplete type that
-have external linkage and file scope. The type of the variable
-is the composition of all the definitions found in the file. The exact
-rules are a bit complex (3.7.2) so SCC ignores them at this moment
-by simply not allowing any definition of variables with incomplete type.
+have external linkage and file scope. The type of the variable is the
+composition of all the definitions found in the file. The exact rules
+are a bit complex (ANSI 3.7.2, or ISO C99 6.2.5p22) so SCC ignores them
+at this moment by simply not allowing any definition of variables with
+incomplete type.
 
 If you don't believe me try this code: