[hackers] [scc] St is right, fish is wrong, learn terminfo(5)! || Roberto E. Vargas Caballero
commit 4598b8d587aacaf1df6ff34ee6985061b1303de2
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Thu Sep 10 23:07:00 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Thu Sep 10 23:07:53 2015 +0200
St is right, fish is wrong, learn terminfo(5)!
diff --git a/cc1/decl.c b/cc1/decl.c
index dd67a92..000c290 100644
--- a/cc1/decl.c
+++ b/cc1/decl.c
_AT_@ -590,6 +590,8 @@ identifier(struct decl *dcl)
--curctx;
sym = install(NS_IDEN, sym);
++curctx;
+ if (!strcmp(sym->name, "main") && tp->type != inttype)
+ errorp("st is right, fish is wrong, learn terminfo(5)!");
} else {
sym = install(NS_IDEN, sym);
}
Received on Thu Sep 10 2015 - 23:08:04 CEST
This archive was generated by hypermail 2.3.0
: Thu Sep 10 2015 - 23:12:10 CEST