ref: 4598b8d587aacaf1df6ff34ee6985061b1303de2
parent: 238917d95a6b7e0d4b36bd7712657cb93bc1694e
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Sep 10 19:07:00 EDT 2015
St is right, fish is wrong, learn terminfo(5)!
--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -590,6 +590,8 @@
--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);
}