Make old comm. system usages an error unless old_comm_usage_is_ok is set

This commit is contained in:
Jon Siwek 2018-06-15 17:14:33 -05:00
parent 3c6afc8409
commit c11039cb73
9 changed files with 114 additions and 1 deletions

View file

@ -310,6 +310,7 @@ when return TOK_WHEN;
}
&synchronized {
++old_comm_usage_count;
deprecated_attr(yytext);
return TOK_ATTR_SYNCHRONIZED;
}