[hackers] [scc] Add more comments in README || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Mon, 20 Mar 2017 16:21:53 +0100 (CET)

commit 80786a2342984eefadc4b2b1c6402dacbb57bfa8
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Mon Mar 20 16:21:09 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Mon Mar 20 16:21:09 2017 +0100

    Add more comments in README
    Some ppl believed that I was wrong about my comments, but this too small
    examples will help them to see what are the points.

diff --git a/README b/README
index 35ad80c..8b9a381 100644
--- a/README
+++ b/README
_AT_@ -53,6 +53,14 @@ grammar ambiguous because it is impossible to differentiate between:
         (int (f)) -> function returning int with one parameter of type f
         (int (f)) -> integer variable f
+If you don't believe me try this code:
+f(int g())
+ return g();
 Function type names are stupid, because they are used as an alias
 of the function pointer types, but it is stupid that something
 like sizeof(int (int)) is not allowed (because here it should be
_AT_@ -71,3 +79,11 @@ have external linkage and file scope. The type of the variable
 is the composition of all the definitions find in the file. The exact
 rules are a bit complex (3.7.2), and SCC ignores them at this moment
 and it does not allow any definition of variables with incomplete type.
+If you don't believe me try this code:
+struct foo x;
+struct foo {
+ int i;
Received on Mon Mar 20 2017 - 16:21:53 CET

This archive was generated by hypermail 2.3.0 : Mon Mar 20 2017 - 16:24:21 CET