public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
530e1a3
)
added error message because of declaration problems
author
eck
<none@none>
Thu, 13 Dec 1990 09:14:54 +0000
(09:14 +0000)
committer
eck
<none@none>
Thu, 13 Dec 1990 09:14:54 +0000
(09:14 +0000)
lang/cem/cemcom.ansi/struct.c
patch
|
blob
|
history
diff --git
a/lang/cem/cemcom.ansi/struct.c
b/lang/cem/cemcom.ansi/struct.c
index
b7e5c00
..
5d8c50d
100644
(file)
--- a/
lang/cem/cemcom.ansi/struct.c
+++ b/
lang/cem/cemcom.ansi/struct.c
@@
-180,6
+180,7
@@
declare_struct(fund, idf, tpp)
register struct tag *tg;
+ if (*tpp) error("multiple types in declaration");
if (!idf)
idf = gen_idf();
tgp = (fund == ENUM ? &idf->id_enum : &idf->id_struct);