Permalink
Browse files

check PMCs as if they were structs, since they really are.

  • Loading branch information...
1 parent e3056fd commit 86d10276d6bc18f8d8921b64772c17e0a77ece52 @kjs kjs committed Jun 24, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/semcheck.c
View
@@ -776,6 +776,7 @@ check_decls(M1_compiler *comp) {
while (iter != NULL) {
switch (iter->decltype) {
case DECL_STRUCT:
+ case DECL_PMC:
check_struct_decl(comp, iter->d.s);
break;
default: /* ignore all other types. */

0 comments on commit 86d1027

Please sign in to comment.